We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f749b commit 7ac6234Copy full SHA for 7ac6234
.github/workflows/gitpage.yml
@@ -32,7 +32,7 @@ jobs:
32
mv ./example/index.md ./output/index.md
33
mv ./example/index.html ./output/webjs.html
34
35
- - name: Check for changes
+ - name: commit and push
36
id: check_changes
37
run: |
38
cd output
@@ -41,11 +41,6 @@ jobs:
41
git config user.email "nodejs-ci@github.com"
42
git remote add secure-origin https://${{ secrets.NPM_CI }}@github.com/ksw2000/${{ github.event.repository.name }}
43
git checkout -b gh-pages
44
- git diff --exit-code || echo "::set-output name=changes_detected::true"
45
-
46
- - name: commit and push
47
- if: steps.check_changes.outputs.changes_detected == 'true'
48
- run: |
49
git add .
50
git commit -m "Generated by CI"
51
- git push secure-origin gh-pages
+ git push -f secure-origin gh-pages
0 commit comments