ffs
Some checks failed
/ build (push) Failing after 0s

This commit is contained in:
Christoph Haas 2025-12-20 20:59:54 +01:00
parent 24c5e5b418
commit bb1ce601be

View file

@ -5,7 +5,7 @@ on:
jobs: jobs:
build: build:
runs-on: docker runs-on: docker
environment: ${{ github.ref_name }} environment: ${{ env.FORGEJO_REF_NAME }}
steps: steps:
- name: Checkout code - name: Checkout code
@ -22,7 +22,7 @@ jobs:
- name: Build Astro project - name: Build Astro project
run: npm run build run: npm run build
- name: Deploy dist to dist-${{ github.ref_name }} - name: Deploy dist to dist-${{ env.FORGEJO_REF_NAME }}
run: | run: |
git config user.name "forgejo-actions[bot]" git config user.name "forgejo-actions[bot]"
git config user.email "forgejo-actions[bot]@users.noreply.local" git config user.email "forgejo-actions[bot]@users.noreply.local"
@ -33,10 +33,10 @@ jobs:
git add dist git add dist
git commit -m "Update dist/ [skip ci]" git commit -m "Update dist/ [skip ci]"
git push \ # git push \
https://x-access-token:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url#https:// }}/{{ github.repository }} \ # https://x-access-token:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url#https:// }}/{{ github.repository }} \
temp-build:dist-${{ github.ref_name }} \ # temp-build:dist-${{ env.FORGEJO_REF_NAME }} \
--force # --force
- name: Trigger deployment webhook - name: Trigger deployment webhook
env: env: