diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index 8dbb1b4..fb2ab90 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -16,7 +16,8 @@ jobs: fetch-depth: 0 - name: public branch run: | - git switch --orphan pages + git checkout -b pages + git rm -rf . git checkout main -- public git add public git commit -m "deploying page"