Files
standardnotes-app-web/.github/workflows/git-sync.yml
2022-06-24 12:55:24 -05:00

24 lines
669 B
YAML

on: push
jobs:
git-sync:
runs-on: ubuntu-latest
steps:
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "standardnotes/app"
source_branch: "refs/remotes/source/*"
destination_repo: "standardnotes/internal-app"
destination_branch: "refs/heads/*"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
- uses: actions/checkout@v3
with:
token: ${{ secrets.CI_PAT_TOKEN }}
repository: standardnotes/internal-app
ref: ${{ github.ref }}
- uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.CI_PAT_TOKEN }}