Files
go-template-container-webse…/.gitea/workflows/update-child-repos.yaml
Bryan Joshua Pedini e3b509b53e
Some checks failed
Update Child Repos / update (push) Failing after 5s
fixed workflow
(maybe?)
2025-12-31 23:20:10 +01:00

31 lines
720 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: |
git config --global user.name "${GIT_NAME}"
git config --global user.email "${GIT_EMAIL}"
git config --global credential.helper store
echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials
./update_child_repos.sh
env:
GIT_NAME: ${{ secrets.GIT_NAME }}
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}