From 1409676264e4e68ffb133ef62508c7bb3ec8359b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 02:25:18 +0000 Subject: [PATCH] fix(workflow): please bro --- .forgejo/workflows/workflow.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index f4d6093..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: |