branch renamed
This commit is contained in:
parent
0bcead9595
commit
95261afc17
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build-and-deploy.yml
vendored
6
.github/workflows/build-and-deploy.yml
vendored
|
|
@ -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: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue