Turned on staging restrictions
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 2s
Remote Deployment Pipeline / Create remote directory (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Successful in 10s
Remote Deployment Pipeline / Sync repository files (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (pull_request) Has been skipped
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 2s
Remote Deployment Pipeline / Create remote directory (pull_request) Has been skipped
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Successful in 10s
Remote Deployment Pipeline / Sync repository files (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (pull_request) Has been skipped
This commit is contained in:
@@ -93,7 +93,7 @@ jobs:
|
||||
target: "${{ needs.prepare_deployment_vars.outputs.deploy_path }}"
|
||||
|
||||
- name: Sync file via scp (staging)
|
||||
# if: github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ env.SSH_HOST }}
|
||||
@@ -132,8 +132,8 @@ jobs:
|
||||
name: Run docker-compose remotely (Staging)
|
||||
runs-on: ubuntu-latest
|
||||
needs: [sync_repo_files, prepare_deployment_vars]
|
||||
# if: |
|
||||
# (github.ref == 'refs/heads/main')
|
||||
if: |
|
||||
(github.ref == 'refs/heads/main')
|
||||
steps:
|
||||
- name: Setup SSH
|
||||
uses: webfactory/ssh-agent@a6f90b1f127823b31d4d4a8d96047790581349bd # v0.9.1
|
||||
|
||||
Reference in New Issue
Block a user