fix: unable to checkout publish in workflow
All checks were successful
Deploy Pages / Generate-Pages (push) Successful in 36s
All checks were successful
Deploy Pages / Generate-Pages (push) Successful in 36s
This commit is contained in:
parent
f940c8e7d9
commit
8989b50562
@ -29,7 +29,9 @@ jobs:
|
||||
- name: Copy pages
|
||||
run: cp -r public ../pages
|
||||
- name: Checkout to `publish` branch
|
||||
run: git checkout publish
|
||||
run: |
|
||||
git fetch
|
||||
git checkout publish
|
||||
- name: Remove old files
|
||||
run: rm -rf `ls | grep -v .git`
|
||||
- name: Copy new files
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user