Files
go-template-container-webse…/.gitea/workflows/update-child-repos.yaml

26 lines
506 B
YAML

---
name: Update Child Repos
concurrency:
group: update-child-repos
cancel-in-progress: false
on:
push:
branches:
- main
defaults:
run:
shell: bash
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
export GITEA_TOKEN=${{ secrets.GITEA_TOKEN }}
git config --global credential.helper store
echo "https://bryan%40pedini.dev:${GITEA_TOKEN}@git.bjphoster.com" > ~/.git-credentials
./update.sh