dont parse response #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Userscript Release Commit | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
publish-userscript: | |
runs-on: ubuntu-latest | |
env: | |
CI_COMMIT_MESSAGE: Userscript Build Artifacts | |
CI_COMMIT_AUTHOR: Continuous Integration | |
steps: | |
- uses: actions/checkout@v3 | |
# Build steps | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "12" | |
- name: Generate userscript | |
run: node userscript-gen.js | |
# Commit and push all changed files. | |
- name: GIT Commit Build Artifacts (coverage, dist, devdist, docs) | |
# Only run on main branch push (e.g. after pull request merge). | |
if: github.event_name == 'push' | |
run: | | |
git add skribbltypo.user.js | |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" | |
git config --global user.email "toobeeh@users.noreply.github.com" | |
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" | |
git push |