Skip to content

Merge pull request #10 from heheller:heheller-patch-2 #19

Merge pull request #10 from heheller:heheller-patch-2

Merge pull request #10 from heheller:heheller-patch-2 #19

name: Forward changes to mo271.github.io
on:
push:
branches:
- main
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: mo271/mo271.github.io
token: ${{ secrets.UPDATE_SUBMODULE }}
submodules: true
- name: Pull & update the "klein" submodule
run: |
git submodule update --init --recursive klein
git submodule update --remote klein
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions - mirror to parent"
git add --all
git commit -m "Update klein submodule" || echo "No changes to commit"
git push