From bb1ce601be801a8c6d02d006f65fa67bb3f59d7f Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sat, 20 Dec 2025 20:59:54 +0100 Subject: [PATCH] ffs --- .forgejo/workflows/playing-around.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/playing-around.yaml b/.forgejo/workflows/playing-around.yaml index 24789ae..e87ad21 100644 --- a/.forgejo/workflows/playing-around.yaml +++ b/.forgejo/workflows/playing-around.yaml @@ -5,7 +5,7 @@ on: jobs: build: runs-on: docker - environment: ${{ github.ref_name }} + environment: ${{ env.FORGEJO_REF_NAME }} steps: - name: Checkout code @@ -22,7 +22,7 @@ jobs: - name: Build Astro project run: npm run build - - name: Deploy dist to dist-${{ github.ref_name }} + - name: Deploy dist to dist-${{ env.FORGEJO_REF_NAME }} run: | git config user.name "forgejo-actions[bot]" git config user.email "forgejo-actions[bot]@users.noreply.local" @@ -33,10 +33,10 @@ jobs: git add dist git commit -m "Update dist/ [skip ci]" - git push \ - https://x-access-token:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url#https:// }}/{{ github.repository }} \ - temp-build:dist-${{ github.ref_name }} \ - --force + # git push \ + # https://x-access-token:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url#https:// }}/{{ github.repository }} \ + # temp-build:dist-${{ env.FORGEJO_REF_NAME }} \ + # --force - name: Trigger deployment webhook env: