fix(workflow): hopefully finally fixed the meli deployment job
This commit is contained in:
parent
a725ec1073
commit
f1f75522e7
2 changed files with 2 additions and 4 deletions
|
@ -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
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
.cache
|
.cache
|
||||||
.vscode
|
.vscode
|
||||||
|
site
|
||||||
|
|
Loading…
Reference in a new issue