Skip to content

Commit

Permalink
Add Sync Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdtrekkie authored Jun 22, 2024
1 parent b3dc5af commit c6ad269
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: sync

on:
push:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
sync:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Git Sync Action
uses: wei/[email protected]
with:
source_repo: "ocdtrekkie/xrf_books_sandstorm"
source_branch: "refs/remotes/source/*"
destination_repo: "${{ secrets.SYNC_URL }}"
destination_branch: "refs/heads/*"

0 comments on commit c6ad269

Please sign in to comment.