fix(workflow): hopefully finally fixed the meli deployment job

This commit is contained in:
Seaswimmer 2024-01-06 19:48:58 +00:00
parent a725ec1073
commit f1f75522e7
Signed by untrusted user: cswimr
GPG key ID: D74DDDDF420E13DF
2 changed files with 2 additions and 4 deletions

View file

@ -52,18 +52,15 @@ jobs:
else else
release="${{ github.ref }}" release="${{ github.ref }}"
fi fi
echo "github.base_ref = ${{ github.base_ref }}" echo "github.base_ref = ${{ github.base_ref }}"
echo "github.ref = ${{ github.ref }}" echo "github.ref = ${{ github.ref }}"
echo "Deploying to Meli on branch $release" echo "Deploying to Meli on branch $release"
npx -p "@getmeli/cli" meli upload ./site \ npx -p "@getmeli/cli" meli upload ./site \
--url "http://pages.coastalcommits.com" \ --url "http://pages.coastalcommits.com" \
--site "${{ variables.MELI_SITE }}" \ --site "${{ variables.MELI_SITE }}" \
--token "${{ secrets.MELI_SITE_SECRET }}" \ --token "${{ secrets.MELI_SITE_SECRET }}" \
--release "$release" --release "$GITEA_SHA" \
--branch "$release" --branch "$release"
echo "Deployed to Meli on branch $release" echo "Deployed to Meli on branch $release"
env: env:
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }} GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
.cache .cache
.vscode .vscode
site