Skip to content

Commit

Permalink
Update docker-build-deploy.yml
Browse files Browse the repository at this point in the history
Andere Deploy-Methode
  • Loading branch information
epam-vkerkhoff committed Jan 15, 2024
1 parent 4591763 commit ed7d229
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docker-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,14 @@ jobs:
set -o pipefail
docker-compose -f quantum-stack.yml config | tee stack.yml
echo -e "---\nversion: '1.0'\ncompose: stack.yml" >.quantum
- name: Deploy to swarm
uses: sagebind/docker-swarm-deploy-action@v2
with:
remote_host: ssh://[email protected]
ssh_private_key: ${{ secrets.AWS_SSH_PRIVATE_KEY }}
ssh_public_key: ${{ secrets.AWS_SSH_MANAGER_PUBKEY }}
args: stack deploy --compose-file .quantum bbnavi-amarillo
docker stack deploy --compose-file .quantum bbnavi-amarillo
# - name: Deploy to swarm
# uses: sagebind/docker-swarm-deploy-action@v2
# with:
# remote_host: ssh://[email protected]
# ssh_private_key: ${{ secrets.AWS_SSH_PRIVATE_KEY }}
# ssh_public_key: ${{ secrets.AWS_SSH_MANAGER_PUBKEY }}
# args: stack deploy --compose-file .quantum bbnavi-amarillo
# - name: Deploy to Planetary Quantum
# run: |
# set -x
Expand Down

0 comments on commit ed7d229

Please sign in to comment.