Update pages.yml
This commit is contained in:
parent
92bad72a45
commit
1d54ef79d4
1 changed files with 1 additions and 4 deletions
5
.github/workflows/pages.yml
vendored
5
.github/workflows/pages.yml
vendored
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue