Open lbajsarowicz opened 2 years ago
Just encountered this as well. You need to add skip-ssh-setup: true
to your second step
- name: Deploy
uses: deployphp/action@v1
with:
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
dep: deploy stage=staging -v --branch=${{ github.ref_name }}
- name: Unlock deploy if job was cancelled
uses: deployphp/action@v1
with:
skip-ssh-setup: true
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
dep: deploy:unlock stage=staging -v
if: cancelled()
Workflow (part)
Result
Upvote & Fund