branch renamed

This commit is contained in:
Christoph Haas 2025-11-02 00:13:54 +01:00
parent 0bcead9595
commit 95261afc17

View file

@ -3,7 +3,7 @@ name: Build Astro and deploy dist
on: on:
push: push:
branches: branches:
- trixie # or your default branch - stage # or your default branch
workflow_dispatch: workflow_dispatch:
permissions: permissions:
@ -29,7 +29,7 @@ jobs:
- name: Build Astro project - name: Build Astro project
run: npm run build run: npm run build
- name: Deploy dist to dist-trixie - name: Deploy dist to dist-stage
run: | run: |
# Configure Git # Configure Git
git config user.name "github-actions[bot]" git config user.name "github-actions[bot]"
@ -46,7 +46,7 @@ jobs:
git branch git branch
git commit -m "Update dist/ [skip ci]" git commit -m "Update dist/ [skip ci]"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Signum/workaround-astro-starlight.git temp-build:dist-trixie --force git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/Signum/workaround-astro-starlight.git temp-build:dist-stage --force
- name: Trigger deployment webhook - name: Trigger deployment webhook
run: | run: |