This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
optimize code for future autogen names of projects and regions #337
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
name: Update submodule | |
on: | |
push: | |
branches: [ develop ] | |
jobs: | |
update-submodule: | |
name: Update Houston's submodule to latest develop | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: 'WildMeOrg/houston' | |
submodules: true | |
token: ${{ secrets.PAT_TOKEN }} | |
- run: | | |
bash -xe <<EOF | |
git config user.name github-actions | |
git config user.email [email protected] | |
cd _frontend.codex | |
git reset --hard origin/develop | |
cd .. | |
git commit -am 'Update _frontend.codex submodule to HEAD of codex-frontend@develop' | |
git show | |
git push origin HEAD | |
EOF |