Update build logic to dynamically set ref
This commit is contained in:
parent
68788737e8
commit
16dcfeb2b3
5
.github/workflows/build-and-deploy.yml
vendored
5
.github/workflows/build-and-deploy.yml
vendored
@ -25,6 +25,11 @@ jobs:
|
|||||||
npm ci --prefix processing
|
npm ci --prefix processing
|
||||||
node processing
|
node processing
|
||||||
|
|
||||||
|
- name: Move to branch
|
||||||
|
if: github.ref != 'refs/heads/develop'
|
||||||
|
run: |
|
||||||
|
mv public public/${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user