From f1f75522e7bd24c231ab9f4199598dfdc65c0e4a Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sat, 6 Jan 2024 19:48:58 +0000 Subject: [PATCH] fix(workflow): hopefully finally fixed the meli deployment job --- .forgejo/workflows/workflow.yaml | 5 +---- .gitignore | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 3c8c384..e770d0e 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -52,18 +52,15 @@ jobs: else release="${{ github.ref }}" fi - echo "github.base_ref = ${{ github.base_ref }}" echo "github.ref = ${{ github.ref }}" echo "Deploying to Meli on branch $release" - npx -p "@getmeli/cli" meli upload ./site \ --url "http://pages.coastalcommits.com" \ --site "${{ variables.MELI_SITE }}" \ --token "${{ secrets.MELI_SITE_SECRET }}" \ - --release "$release" + --release "$GITEA_SHA" \ --branch "$release" - echo "Deployed to Meli on branch $release" env: GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }} diff --git a/.gitignore b/.gitignore index 2b23df4..0f14351 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .cache .vscode +site