diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 6ae998e..ab4b212 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -47,9 +47,10 @@ jobs: continue-on-error: true - name: Deploy the documentation to Meli (CoastalCommits Pages) run: | + unset GITHUB_TOKEN + unset GITLAB_TOKEN if [ -n "${{ github.base_ref }}" ]; then release="$(basename "{{ github.base_ref }}")" - export GITEA_TOKEN = ${{ secrets.COASTALCOMMITSTOKEN }} else release="$(basename "${{ github.ref }}")" fi @@ -64,6 +65,8 @@ jobs: --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: |