Update build logic to dynamically set ref

This commit is contained in:
Chris Hunt 2023-01-11 14:19:26 +00:00
parent 68788737e8
commit 16dcfeb2b3

View File

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