Update to latest version #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Production | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- closed | |
branches: | |
- main | |
jobs: | |
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 |