Merge pull request #9 from estensen/master
Add example of how to add code to git
This commit is contained in:
12
README.md
12
README.md
@ -14,10 +14,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Create local changes
|
||||
run: |
|
||||
...
|
||||
- run: |
|
||||
...
|
||||
- uses: ad-m/github-push-action@master
|
||||
- name: Commit files
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git commit -m "Add changes" -a
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
Reference in New Issue
Block a user