Skip to content

Commit

Permalink
Create 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 9b3d224 commit dcf50d1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/sync-to-deployment-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Sync to Deployment Fork
on:
push:
branches:
- main

jobs:
sync-deployment-fork:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: sync_deployment_fork
with:
route: POST /repos/{owner}/{repo}/merge-upstream
owner: JTC-Smart-Retrieval
repo: Smart-Retrieval-Deployment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: "echo Sync Fork Success!: '${{ steps.sync_deployment_fork.outputs.data }}'"
- run: "echo Sync Fork Failed. Request failed with status '${{ steps.sync_deployment_fork.outputs.status }}'"
if: ${{ failure() }}

0 comments on commit dcf50d1

Please sign in to comment.