Add code to git example
This commit is contained in:
parent
7f32f5aa55
commit
b980052ffd
12
README.md
12
README.md
@ -14,10 +14,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
...
|
||||
- run: |
|
||||
- name: Create local changes
|
||||
run: |
|
||||
...
|
||||
- uses: ad-m/github-push-action@master
|
||||
- name: Add files
|
||||
run: |
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub Action"
|
||||
git commit -m "Add changes" -a
|
||||
- name: Commit changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user