Skip to content

Commit

Permalink
update: example workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
suba327777 committed May 26, 2024
1 parent 6817dbe commit 3de0d7e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,26 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Use README.Mountain
uses: suba327777/README.Mountain@main
uses: suba327777/README.Mountain@release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USERNAME: ${{ github.repository_owner }}
# select theme
THEME: "default"
- name: Diff
id: diff
run: |
git add -N .
git diff --name-only --exit-code
continue-on-error: true
- name: commit & push
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "[μRM] generate svg."
git push
if: steps.diff.outcome == 'failure'
```

## dependency, environments
Expand Down

0 comments on commit 3de0d7e

Please sign in to comment.