Merge branch 'main' into updatechecker
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 59s
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 59s
This commit is contained in:
commit
ac0c775740
1 changed files with 16 additions and 5 deletions
|
@ -44,13 +44,24 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
mkdocs build
|
mkdocs build
|
||||||
|
continue-on-error: true
|
||||||
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
||||||
run: |
|
run: |
|
||||||
npx -p "@getmeli/cli" meli upload ./site \
|
if [ -n "${{ github.base_ref }}" ]; then
|
||||||
--url "http://pages.coastalcommits.com" \
|
release="${{ github.base_ref }}"
|
||||||
--site "${{ variables.MELI_SITE }}" \
|
else
|
||||||
--token "${{ secrets.MELI_SITE_SECRET }}" \
|
release="${{ github.ref }}"
|
||||||
--release "$GITEA_SHA"
|
fi
|
||||||
|
|
||||||
|
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"
|
||||||
|
|
||||||
|
echo "Deployed to Meli on branch $release"
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
Loading…
Reference in a new issue