From d74a80193983b8b828994d2b6fe3853871a6212f Mon Sep 17 00:00:00 2001 From: Si Mills Date: Sat, 14 Sep 2024 23:12:44 +0100 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cc6c640..07bf6ff 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,9 +20,9 @@ jobs: - name: Deploy run: | + git checkout main git checkout -b gh-pages git rm -rf --cached * - git checkout main -- build cp -r build/* . git add . git commit -m "Deploy to GitHub Pages"