Merge branch 'main' into updatechecker
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 1m13s
Some checks failed
Build Documentation and Lint Code / build and lint (pull_request) Failing after 1m13s
This commit is contained in:
commit
3fb695b2e5
2 changed files with 8 additions and 7 deletions
|
@ -48,22 +48,22 @@ jobs:
|
|||
- name: Deploy the documentation to Meli (CoastalCommits Pages)
|
||||
run: |
|
||||
if [ -n "${{ github.base_ref }}" ]; then
|
||||
release="${{ github.base_ref }}"
|
||||
release="$(basename "{{ github.base_ref }}")"
|
||||
export GITEA_TOKEN = ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
else
|
||||
release="${{ github.ref }}"
|
||||
release="$(basename "${{ github.ref }}")"
|
||||
fi
|
||||
|
||||
echo "Deploying to Meli on branch $release"
|
||||
|
||||
npx -p "@getmeli/cli" meli upload ./site \
|
||||
--url "http://pages.coastalcommits.com" \
|
||||
--site "${{ variables.MELI_SITE }}" \
|
||||
--url "https://pages.coastalcommits.com" \
|
||||
--site "${{ vars.MELI_SITE_ID }}" \
|
||||
--token "${{ secrets.MELI_SITE_SECRET }}" \
|
||||
--release "$release"
|
||||
--release "$release/$(git rev-parse HEAD)" \
|
||||
--branch "$release"
|
||||
|
||||
echo "Deployed to Meli on branch $release"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
continue-on-error: true
|
||||
- name: Analysing the code with Pylint
|
||||
run: |
|
||||
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
.cache
|
||||
.vscode
|
||||
site
|
||||
|
|
Loading…
Reference in a new issue