diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ed1163d..0cf4d2f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -27,7 +27,7 @@ jobs: eval $(ssh-agent) ssh-add "$HOME/.ssh/docker" echo "crossroadsajax.church $SSH_KNOWN_HOST" >> ~/.ssh/known_hosts - docker --host "ssh://kyle@crossroadsajax.church" stack deploy -c prod.yml --with-registry-auth prod + docker --host "ssh://kyle@crossroadsajax.church" stack deploy --compose-file <(docker-compose -f prod.yml config) --with-registry-auth prod shell: bash env: SSH_PRIV_KEY: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }} @@ -57,7 +57,7 @@ jobs: eval $(ssh-agent) ssh-add "$HOME/.ssh/docker" echo "crossroadsajax.church $SSH_KNOWN_HOST" >> ~/.ssh/known_hosts - docker --host "ssh://kyle@crossroadsajax.church" stack deploy -c staging.yml --with-registry-auth staging + docker --host "ssh://kyle@crossroadsajax.church" stack deploy --compose-file <(docker-compose -f staging.yml config) --with-registry-auth staging shell: bash env: SSH_PRIV_KEY: ${{ secrets.DOCKER_SSH_PRIVATE_KEY }}