update
Deploy / deploy (push) Failing after 1m0s Details

This commit is contained in:
Carneiro 2024-11-25 16:39:45 -03:00
parent 81be957aec
commit e70b0a616d
1 changed files with 8 additions and 25 deletions

View File

@ -9,29 +9,12 @@ jobs:
- name: Checkout codebase
uses: actions/checkout@v2
- name: Deploy
uses: kitconcept/docker-stack-deploy@v1.0.1
- name: 'Docker Stack Deploy'
uses: cssnr/stack-deploy-action@v1
with:
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
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
user: ${{ secrets.SSH_USERNAME }}
ssh_key: ${{ secrets.SSH_PRIV_KEY }}
file: 'docker-compose.yaml'
name: 'stack-name'