Merge branch 'main' into updatechecker
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 1m14s

This commit is contained in:
Seaswimmer 2024-01-07 02:38:30 +00:00
commit c9916f7ea7

View file

@ -47,15 +47,20 @@ jobs:
continue-on-error: true
- name: Deploy the documentation to Meli (CoastalCommits Pages)
run: |
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
unset GITHUB_TOKEN
unset GITLAB_TOKEN
if [ -n "${{ github.base_ref }}" ]; then
release="$(basename "{{ github.base_ref }}")"
release="$(basename "${{ github.base_ref }}")"
else
release="$(basename "${{ github.ref }}")"
fi
echo "Deploying to Meli on branch $release"
echo "${YELLOW}Deploying to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}...\n"
npx -p "@getmeli/cli" meli upload ./site \
--url "https://pages.coastalcommits.com" \
@ -64,7 +69,7 @@ jobs:
--release "$release/$(git rev-parse HEAD)" \
--branch "$release"
echo "Deployed to Meli on branch $release"
echo "\n${YELLOW}Deployed to ${BLUE}Meli ${YELLOW}on branch ${GREEN}$release${YELLOW}!"
env:
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
continue-on-error: true