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:
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: