ffs
This commit is contained in:
parent
a6a79f30e4
commit
7bb8bc74b7
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-and-deploy.yml
vendored
4
.github/workflows/build-and-deploy.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- name: Build Astro project
|
- name: Build Astro project
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Deploy dist to dist-${{ env.DIST_BRANCH }}
|
- name: Deploy dist to dist-${{ github.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
# Configure Git
|
# Configure Git
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
|
|
@ -48,7 +48,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/${{ github.repository }} temp-build:${{ env.DIST_BRANCH }} --force
|
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} temp-build:dist-${{ github.ref_name }} --force
|
||||||
|
|
||||||
- name: Trigger deployment webhook
|
- name: Trigger deployment webhook
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue