From 58820b41d9399583cdaec9c980c978fce350d2f1 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 02:19:56 +0000 Subject: [PATCH 1/2] fix(workflow): fixed export thing --- .forgejo/workflows/workflow.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 6ae998e..f4d6093 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -49,7 +49,7 @@ jobs: run: | if [ -n "${{ github.base_ref }}" ]; then release="$(basename "{{ github.base_ref }}")" - export GITEA_TOKEN = ${{ secrets.COASTALCOMMITSTOKEN }} + export GITEA_TOKEN="${{ secrets.COASTALCOMMITSTOKEN }}" else release="$(basename "${{ github.ref }}")" fi From 1409676264e4e68ffb133ef62508c7bb3ec8359b Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 02:25:18 +0000 Subject: [PATCH 2/2] 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: |