Update pages.yml

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

View file

@ -9,9 +9,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: make content
run: |
echo "<h1>Hello There</h1>" > hello.html
- name: push content - name: push content
run: | run: |
REMOTE="https://${GITHUB_PAT}@github.com/${GITHUB_REPOSITORY}.git" REMOTE="https://${GITHUB_PAT}@github.com/${GITHUB_REPOSITORY}.git"
@ -27,7 +24,7 @@ jobs:
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 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