Fixes Desired Behavior
This commit is contained in:
3
.github/workflows/refresh-deployment.yml
vendored
3
.github/workflows/refresh-deployment.yml
vendored
@@ -14,7 +14,6 @@ jobs:
|
||||
name: Refresh deployments
|
||||
environment: prod
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
@@ -22,7 +21,7 @@ jobs:
|
||||
- name: Executing Remote Commands - Refresh All Deployments
|
||||
env:
|
||||
deployments: ${{ github.event.client_payload.deployments }}
|
||||
if: ${{ env.deployments == '' }}
|
||||
if: ${{ env.deployments == '' || github.event.workflow_run.conclusion == 'success' }}
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
|
||||
Reference in New Issue
Block a user