Nightly sync to deployment branches #298
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: Nightly sync to deployment branches | |
on: | |
schedule: | |
# 03:30 UTC is either 04:30 or 05:30 in CET (swiss time), depending on daylight savings time | |
- cron: '30 3 * * *' | |
jobs: | |
sync-deploy-branch: | |
name: 'Sync current master to the deploy branch' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-demo' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-wildert' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-hadlaub' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-pta' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-laegern' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-manegg' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-seepfadi' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-gryfensee' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
- uses: repo-sync/github-sync@v2 | |
with: | |
source_repo: 'gloggi/abteilungs-homepage' | |
source_branch: 'master' | |
destination_branch: 'deploy-gloggi' | |
github_token: ${{ secrets.REPO_ACCESS_TOKEN }} |