diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index caaa3da..0f4d253 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,10 +23,16 @@ jobs: - name: Run a multi-line script run: | cd $GITHUB_WORKSPACE/code/ - git config user.name "GitHub Actions Bot" - git config user.email "<>" ls $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 commit -m "Automated file change" git push origin master