Skip to content

Commit

Permalink
Update sync-to-deployment-fork.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xKhronoz authored Jan 25, 2024
1 parent b6b31a7 commit 11d4af2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/sync-to-deployment-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ on:
# - cron: '*/30 * * * *' # every 30 minutes
workflow_dispatch: # on button click

env:
REQUEST_BODY: |
branch: 'main',
headers: {
'X-GitHub-Api-Version': '2022-11-28'
}
jobs:
sync-deployment-fork:
runs-on: ubuntu-latest
Expand All @@ -15,6 +22,7 @@ jobs:
id: sync_deployment_fork
with:
route: POST /repos/{owner}/{repo}/merge-upstream
body: ${{ toJSON(env.REQUEST_BODY) }}
owner: JTC-Smart-Retrieval
repo: Smart-Retrieval-Deployment
env:
Expand Down

0 comments on commit 11d4af2

Please sign in to comment.