File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2828 - name : generate example page by web js
2929 run : |
3030 mkdir output/js
31- cp ./dist/web/hmd2html.min.js ./output/js
32- cp ./example/index.md ./output/index.md
33- cp ./example/index.html ./output/webjs.html
31+ mv ./dist/web/hmd2html.min.js ./output/js
32+ mv ./example/index.md ./output/index.md
33+ mv ./example/index.html ./output/webjs.html
3434
3535 - name : Check for changes
3636 id : check_changes
@@ -41,10 +41,10 @@ jobs:
4141 git config user.email "nodejs-ci@github.com"
4242 git remote add secure-origin https://${{ secrets.NPM_CI }}@github.com/ksw2000/${{ github.event.repository.name }}
4343 git checkout -b gh-pages
44- git diff --exit-code || echo "Changes detected "
44+ git diff --exit-code || echo "::set-output name=changes_detected::true "
4545
4646 - name : commit and push
47- if : steps.check_changes.outputs.exit-code != 0
47+ if : steps.check_changes.outputs.changes_detected == 'true'
4848 run : |
4949 git add .
5050 git commit -m "Generated by CI"
You can’t perform that action at this time.
0 commit comments