12
.github/workflows/deploy_compose.yml
vendored
12
.github/workflows/deploy_compose.yml
vendored
@@ -82,13 +82,9 @@ jobs:
|
|||||||
cat .env.version
|
cat .env.version
|
||||||
|
|
||||||
- name: Deploy to Dev Host on pr
|
- name: Deploy to Dev Host on pr
|
||||||
uses: Wandalen/wretry.action@v2
|
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:
|
||||||
attempt_limit: 3
|
|
||||||
attempt_delay: 5000
|
|
||||||
action: https://code.platosoft.org/infrastructure/docker-remote-deployment-action@local
|
|
||||||
with: |
|
|
||||||
remote_docker_host: ${{ secrets.DEV_DEPLOY_HOST }}
|
remote_docker_host: ${{ secrets.DEV_DEPLOY_HOST }}
|
||||||
remote_docker_port: ${{ secrets.DEV_DEPLOY_PORT }}
|
remote_docker_port: ${{ secrets.DEV_DEPLOY_PORT }}
|
||||||
remote_docker_user: ${{ secrets.DEV_DEPLOY_USER }}
|
remote_docker_user: ${{ secrets.DEV_DEPLOY_USER }}
|
||||||
@@ -105,13 +101,9 @@ jobs:
|
|||||||
docker_registry_password: ${{ secrets.REGISTRY_PASSWORD }}
|
docker_registry_password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||||
|
|
||||||
- name: Deploy to Deploy Host on other event
|
- name: Deploy to Deploy Host on other event
|
||||||
uses: Wandalen/wretry.action@v2
|
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:
|
||||||
attempt_limit: 3
|
|
||||||
attempt_delay: 5000
|
|
||||||
action: https://code.platosoft.org/infrastructure/docker-remote-deployment-action@local
|
|
||||||
with: |
|
|
||||||
remote_docker_host: ${{ secrets.DEPLOY_HOST }}
|
remote_docker_host: ${{ secrets.DEPLOY_HOST }}
|
||||||
remote_docker_port: ${{ secrets.DEPLOY_PORT }}
|
remote_docker_port: ${{ secrets.DEPLOY_PORT }}
|
||||||
remote_docker_user: ${{ secrets.DEPLOY_USER }}
|
remote_docker_user: ${{ secrets.DEPLOY_USER }}
|
||||||
|
|||||||
Reference in New Issue
Block a user