fix condition
This commit is contained in:
4
.github/workflows/deploy_compose.yml
vendored
4
.github/workflows/deploy_compose.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
- name: check info
|
||||
run: |
|
||||
echo "{{ github.event_name }}: ${{ github.event_name }}"
|
||||
echo "! {{ github.event_name == 'pull_request'}}: ${{ ! github.event_name == 'pull_request' }}"
|
||||
echo "{{ ! ( github.event_name == 'pull_request' ) }}: ${{ ! ( github.event_name == 'pull_request' ) }}"
|
||||
|
||||
- name: Change Version if pr
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
@@ -66,7 +66,7 @@ jobs:
|
||||
|
||||
- name: Deploy to Deploy Host on other event
|
||||
uses: https://code.platosoft.org/infrastructure/docker-remote-deployment-action@local
|
||||
if: ${{ ! github.event_name == 'pull_request' }}
|
||||
if: ${{ ! ( github.event_name == 'pull_request' ) }}
|
||||
with:
|
||||
remote_docker_host: ${{ secrets.DEPLOY_HOST }}
|
||||
remote_docker_user: ${{ secrets.DEPLOY_USER }}
|
||||
|
||||
Reference in New Issue
Block a user