Update celeste_wiki submodule #12
This file contains hidden or 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
| name: Update celeste_wiki submodule | |
| on: | |
| workflow_dispatch | |
| jobs: | |
| update-wiki: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Update celeste_wiki submodule | |
| run: | | |
| git config submodule.celeste_wiki.url https://github.com/LuckyBoy-7/CelesteWikiModule.git | |
| git submodule init celeste_wiki | |
| git submodule update --init celeste_wiki | |
| cd celeste_wiki | |
| git pull origin gh-pages | |
| cd .. | |
| - name: Commit submodule update | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add celeste_wiki | |
| git commit -m "Action: 更新 wiki 子模块" | |
| - name: Push changes | |
| run: | | |
| git push |