Merge pull request #150 from StrykeSlammerII/patch-1 #145
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
# Updates the submodules in the website branch | |
name: Website | |
on: | |
push: | |
branches: [ master, develop, '4.*', '5.*' ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: website | |
token: ${{ secrets.CHECKOUT_TOKEN }} | |
- name: Update submodule | |
run: git submodule update --init --remote --merge | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
committer_name: Github Actions | |
committer_email: 41898282+github-actions[bot]@users.noreply.github.com | |
new_branch: website | |
message: 'Updating submodules' |