Fix moving issues
This commit is contained in:
parent
16dcfeb2b3
commit
3b0eee7d3d
4
.github/workflows/build-and-deploy.yml
vendored
4
.github/workflows/build-and-deploy.yml
vendored
@ -28,7 +28,9 @@ jobs:
|
|||||||
- name: Move to branch
|
- name: Move to branch
|
||||||
if: github.ref != 'refs/heads/develop'
|
if: github.ref != 'refs/heads/develop'
|
||||||
run: |
|
run: |
|
||||||
mv public public/${{ github.head_ref || github.ref_name }}
|
mv public ${{ github.head_ref || github.ref_name }}
|
||||||
|
mkdir public
|
||||||
|
mv ${{ github.head_ref || github.ref_name }} public
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: JamesIves/github-pages-deploy-action@v4
|
uses: JamesIves/github-pages-deploy-action@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user