update-from-vscode #651
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
# .github/workflows/build.yml | |
name: Update SVG | |
on: | |
repository_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run the binary | |
run: | | |
ls -al | |
chmod +x ishowoff_github | |
./ishowoff_github ${{ github.event.client_payload.arguments }} | |
- name: Commit report | |
run: | | |
git config --global user.name 'IShowOff' | |
git config --global user.email '[email protected]' | |
{ | |
git commit -am "Updating session" && git push | |
} || { | |
echo "Nothing to commit" | |
} |