Update pages.yml

This commit is contained in:
Waylon Walker 2020-03-09 21:09:16 -05:00 committed by GitHub
parent 1d54ef79d4
commit dd1c43bd30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,13 +20,16 @@ jobs:
mkdir /tmp/github-pages mkdir /tmp/github-pages
cd /tmp/github-pages cd /tmp/github-pages
git init git init
git checkout --orphan gh-pages
git status --short
# git ls-remote --heads ${REMOTE} gh-pages # git ls-remote --heads ${REMOTE} gh-pages
echo "<h1>hello there</h1>" > index.html echo "<h1>hello there</h1>" > index.html
git config user.name ${COMMITER_NAME} git config user.name ${COMMITER_NAME}
git config user.email ${COMMITER_EMAIL} git config user.email ${COMMITER_EMAIL}
git status --porcelain
git add --all . git add --all .
git commit commit -m "DIST to gh-pages" git commit commit -m "DIST to gh-pages"
git push --quiet --force git push --quiet --force ${REMOTE} gh-pages