Skip to content

Nightly sync to deployment branches #307

Nightly sync to deployment branches

Nightly sync to deployment branches #307

Workflow file for this run

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 }}