update
Deploy / deploy (push) Failing after 10s Details

This commit is contained in:
Carneiro 2024-11-25 16:35:11 -03:00
parent 5116e3af20
commit 81be957aec
1 changed files with 27 additions and 24 deletions

View File

@ -6,29 +6,32 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
# - name: Checkout codebase
# uses: actions/checkout@v2
- name: Checkout codebase
uses: actions/checkout@v2
# - name: Deploy
# uses: kitconcept/docker-stack-deploy@v1.0.1
# with:
# remote_host: alice.ufsj.edu.br
# remote_port: 55022
# remote_user: act_runner
# remote_private_key: ${{ secrets.SSH_PRIV_KEY }}
# stack_file: "docker-compose.yml"
# stack_name: "filestash"
- name: Deploy to Docker swarm
uses: wshihadeh/docker-deployment-action@v1
- name: Deploy
uses: kitconcept/docker-stack-deploy@v1.0.1
with:
remote_docker_host: ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}
ssh_private_key: ${{ secrets.SSH_PRIV_KEY }}
remote_docker_port: ${{ secrets.SSH_PORT}}
ssh_public_key: ${{ secrets.SSH_PUB_KEY }}
deployment_mode: docker-swarm
copy_stack_file: false
# deploy_path: /root/my-deployment
stack_file_name: docker-compose.yaml
keep_files: 1
args: filestash
registry:
username:
password:
remote_host: alice.ufsj.edu.br
remote_port: 55022
remote_user: act_runner
remote_private_key: ${{ secrets.SSH_PRIV_KEY }}
stack_file: "docker-compose.yml"
stack_name: "filestash"
# - name: Deploy to Docker swarm
# uses: wshihadeh/docker-deployment-action@v1
# with:
# remote_docker_host: ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}
# ssh_private_key: ${{ secrets.SSH_PRIV_KEY }}
# remote_docker_port: ${{ secrets.SSH_PORT}}
# ssh_public_key: ${{ secrets.SSH_PUB_KEY }}
# deployment_mode: docker-swarm
# copy_stack_file: false
# # deploy_path: /root/my-deployment
# stack_file_name: docker-compose.yaml
# keep_files: 1
# args: filestash