Skip to content

Instantly share code, notes, and snippets.

@wshihadeh
Created August 16, 2020 16:23
Show Gist options
  • Save wshihadeh/8c3cbb150f4edb73803f7f94cdcd7e80 to your computer and use it in GitHub Desktop.
Save wshihadeh/8c3cbb150f4edb73803f7f94cdcd7e80 to your computer and use it in GitHub Desktop.
DeploySwarm
- 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
args: my_applicaion_stack_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment