Merge branch 'feat/watch-page' #3
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: [main] | |
jobs: | |
update-submodule: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: nsfisis/nil.ninja | |
submodules: true | |
token: ${{ secrets.GH_PAT }} | |
path: nil.ninja | |
- run: | | |
cd nil.ninja | |
cd vhosts/t/albatross-swift | |
git fetch --prune origin | |
git switch -d origin/main | |
cd "$(git rev-parse --show-superproject-working-tree)" | |
git add vhosts/t/albatross-swift | |
git config user.name nsfisis | |
git config user.email [email protected] | |
git commit -m "[automated] Update 'vhosts/t/albatross-swift' (${GITHUB_SHA})" | |
git push origin main |