diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fd15b36..adcdceb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -55,8 +55,12 @@ jobs: # Remove files and directories from the production branch # git rm -r --ignore-unmatch */* + rm -rf * + git add -A + git commit -m "Clear content" + + git checkout main -- 'site/*' - git checkout main -- site/ git add -A git commit -m "Content update" # git mv site docs