Skip to content

Commit

Permalink
Update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Arilith committed Dec 4, 2024
1 parent c8fa07b commit 7e71d21
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@ name: Deploy to Production
on:
push:
branches:
- 'main'

workflow_dispatch:
- main
pull_request:
types:
- closed
branches:
- main

jobs:
# build:
# runs-on: ["self-hosted", "main"]
# steps:
# - name: Run compose script in Deployment repository.
# uses: benc-uk/workflow-dispatch@v1
# with:
# workflow: Deploy Docker Images of R-OV
# repo: R-OV-NL/Deploy
# token: ${{ secrets.SHARED_PAT }}
# ref: main
deploy:
name: Deploy to Production
if: github.event.pull_request.merged == true || github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- name: Run compose script in Deployment repository.
uses: benc-uk/workflow-dispatch@v1
with:
workflow: Deploy Docker Images
repo: infoplaza-mobility/Deploy
token: ${{ secrets.SHARED_PAT }}
ref: main

0 comments on commit 7e71d21

Please sign in to comment.