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
|
- name: check info
|
||||||
run: |
|
run: |
|
||||||
echo "{{ github.event_name }}: ${{ github.event_name }}"
|
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
|
- name: Change Version if pr
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Deploy to Deploy Host on other event
|
- name: Deploy to Deploy Host on other event
|
||||||
uses: https://code.platosoft.org/infrastructure/docker-remote-deployment-action@local
|
uses: https://code.platosoft.org/infrastructure/docker-remote-deployment-action@local
|
||||||
if: ! ${{ github.event_name == 'pull_request' }}
|
if: ${{ ! github.event_name == 'pull_request' }}
|
||||||
with:
|
with:
|
||||||
remote_docker_host: ${{ secrets.DEPLOY_HOST }}
|
remote_docker_host: ${{ secrets.DEPLOY_HOST }}
|
||||||
remote_docker_user: ${{ secrets.DEPLOY_USER }}
|
remote_docker_user: ${{ secrets.DEPLOY_USER }}
|
||||||
|
|||||||
Reference in New Issue
Block a user