diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index af87f50..bb5a40a 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -20,13 +20,16 @@ jobs: mkdir /tmp/github-pages cd /tmp/github-pages git init + git checkout --orphan gh-pages + git status --short # git ls-remote --heads ${REMOTE} gh-pages echo "

hello there

" > index.html git config user.name ${COMMITER_NAME} git config user.email ${COMMITER_EMAIL} + git status --porcelain git add --all . git commit commit -m "DIST to gh-pages" - git push --quiet --force + git push --quiet --force ${REMOTE} gh-pages