Skip to content

Update badge.md with mpy-cross usage instructions #51

Update badge.md with mpy-cross usage instructions

Update badge.md with mpy-cross usage instructions #51

# On file change, update submodule of sigpwny/notes.sigpwny.com using a CI bot commit.
name: Sync notes changes to sigpwny/notes.sigpwny.com
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update:
name: Update git submodule
runs-on: ubuntu-latest
steps:
- name: Install SSH Client 🔑
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
repository: sigpwny/notes.sigpwny.com
submodules: true
- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "SIGPwny CI/CD"
git add --all
git commit -m "sync: sigpwny/notes" || echo "No changes to commit"
git push