Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sunwu51 committed Jul 13, 2024
1 parent a6d41fa commit aefd08a
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ jobs:
image: node:12
steps:
- uses: actions/checkout@v2
- run: npm i -g github-markdown
- run: rm -rf .git
- run: bash ./bootstrap.sh
- run: git init
- run: git config user.name "frank"
- run: git config user.email "[email protected]"
- run: git add .
- run: git commit -m "update note"
- env:
TOKEN: ${{ secrets.TOKEN }}
run: git push --force https://[email protected]/xiaogenban1993/xiaogenban1993.github.io.git master
- run echo "finish, never sync to the original repo"
# - run: npm i -g github-markdown
# - run: rm -rf .git
# - run: bash ./bootstrap.sh
# - run: git init
# - run: git config user.name "frank"
# - run: git config user.email "[email protected]"
# - run: git add .
# - run: git commit -m "update note"
# - env:
# TOKEN: ${{ secrets.TOKEN }}
# run: git push --force https://[email protected]/xiaogenban1993/xiaogenban1993.github.io.git master

0 comments on commit aefd08a

Please sign in to comment.