Skip to content

Commit

Permalink
Sync mirror once a month
Browse files Browse the repository at this point in the history
  • Loading branch information
aeiouaeiouaeiouaeiouaeiouaeiou committed Mar 29, 2023
1 parent b3dd00a commit 53940ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
on:
schedule:
- cron: "0 3 * * 1"
- cron: "0 0 1 * *"
workflow_dispatch:

jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: sync main branch
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
uses: repo-sync/github-sync@v2
with:
source_repo: "https://gitlab.com/then-try-this/samplebrain.git"
source_branch: "main"
destination_branch: "main"
github_token: ${{ secrets.PAT }}
- name: sync development branch
uses: repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88
uses: repo-sync/github-sync@v2
with:
source_repo: "https://gitlab.com/then-try-this/samplebrain.git"
source_branch: "development"
Expand Down

0 comments on commit 53940ef

Please sign in to comment.