Skip to content

Commit

Permalink
Create github-sync.yml
Browse files Browse the repository at this point in the history
New sync
  • Loading branch information
DavidAce authored May 16, 2024
0 parents commit 09c889d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/github-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Mirror at KTH-condmat
on:
- push
- schedule:
- cron: "0 6 * * *"
workflow_dispatch:

jobs:
repo-sync:
runs-on: ubuntu-latest
environment: CMT-mirror
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: repo-sync
uses: repo-sync/github-sync@v2
with:
source_repo: "https:/github.com/DavidAce/CMakeTemplate.git"
source_branch: "master"
destination_branch: "main"
github_token: ${{ secrets.CMT_ACCESS_TOKEN }}

0 comments on commit 09c889d

Please sign in to comment.