Skip to content

merge-content

merge-content #177

name: Update on new content dispatch
on:
workflow_dispatch:
repository_dispatch:
types: [merge-content]
jobs:
mergeContent:
runs-on: ubuntu-latest
steps:
- name: Checkout submodule
uses: actions/checkout@v3
with:
token: ${{ secrets.DISPATCH_HOOK_TOKEN }}
submodules: true
- name: Update submodules content
run: git submodule update --remote --recursive
- name: Pull the content
run: git pull
- name: Update submodules index
uses: stefanzweifel/[email protected]
with:
commit_message: apply automatic changed content
# branch: static