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 236a4c9 commit 32bac69
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/sync-to-deployment-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ on:
workflow_dispatch: # on button click

jobs:
sync:

sync-deployment-fork:
runs-on: ubuntu-latest

steps:
- uses: tgymnich/[email protected]
- uses: octokit/[email protected]
id: sync_deployment_fork
with:
token: ${{ secrets.PAT }}
owner: JTC-Smart-Retrieval
repo: Smart-Retrieval-Deployment
base: main
head: main
auto_approve: true
route: POST /repos/JTC-Smart-Retrieval/Smart-Retrieval-Deployment/merge-upstream
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
- 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 32bac69

Please sign in to comment.