Skip to content

Commit

Permalink
Add production branch and switch to actions/checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
aeiouaeiouaeiouaeiouaeiouaeiou committed Oct 28, 2023
1 parent 53940ef commit fb815a9
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,27 @@ jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: sync development branch
uses: repo-sync/github-sync@v2
with:
source_repo: "https://gitlab.com/then-try-this/samplebrain.git"
source_branch: "development"
destination_branch: "development"
github_token: ${{ secrets.PAT }}
- name: sync main branch
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
- name: sync production branch
uses: repo-sync/github-sync@v2
with:
source_repo: "https://gitlab.com/then-try-this/samplebrain.git"
source_branch: "development"
destination_branch: "development"
source_branch: "production"
destination_branch: "production"
github_token: ${{ secrets.PAT }}

0 comments on commit fb815a9

Please sign in to comment.