Created
August 16, 2020 16:26
-
-
Save wshihadeh/ba323c9a671e347c155850f6eec3ac05 to your computer and use it in GitHub Desktop.
DeploySwarm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Deploy to Docker swarm | |
uses: wshihadeh/docker-deployment-action@v1 | |
with: | |
remote_docker_host: user@myswarm.com | |
ssh_private_key: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }} | |
ssh_public_key: ${{ secrets.DOCKER_SSH_PUBLIC_KEY }} | |
deployment_mode: docker-swarm | |
copy_stack_file: true | |
deploy_path: /root/my-deployment | |
stack_file_name: docker-stack.yaml | |
keep_files: 5 | |
args: my_applicaion_stack_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment