Update main.yml
This commit is contained in:
parent
bc681be731
commit
a8c45c0242
1 changed files with 8 additions and 2 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -23,10 +23,16 @@ jobs:
|
||||||
- name: Run a multi-line script
|
- name: Run a multi-line script
|
||||||
run: |
|
run: |
|
||||||
cd $GITHUB_WORKSPACE/code/
|
cd $GITHUB_WORKSPACE/code/
|
||||||
git config user.name "GitHub Actions Bot"
|
|
||||||
git config user.email "<>"
|
|
||||||
ls $GITHUB_WORKSPACE
|
ls $GITHUB_WORKSPACE
|
||||||
node converter.js $GITHUB_WORKSPACE
|
node converter.js $GITHUB_WORKSPACE
|
||||||
|
|
||||||
|
- name: Setup git
|
||||||
|
run: |
|
||||||
|
git config user.name "GitHub Actions Bot"
|
||||||
|
git config user.email "<>"
|
||||||
|
|
||||||
|
- name: Run git
|
||||||
|
run: |
|
||||||
git add $GITHUB_WORKSPACE/story/*
|
git add $GITHUB_WORKSPACE/story/*
|
||||||
git commit -m "Automated file change"
|
git commit -m "Automated file change"
|
||||||
git push origin master
|
git push origin master
|
||||||
|
|
Loading…
Reference in a new issue