Integration · CI · ActionFeed recipe
GitHub Actions, on your phone.
Add one step to your workflow. The job waits until a person approves on their phone, with Face ID when you require it.
GitHub Actions
Deploy a1b2c3d to production?
api · main · 214 checks passed
DeployCancel
Set it up.
Step 1
Create a source token
In the app, create a source for your repository and store the token as the ACTIONFEED_TOKEN secret.
Step 2
Add the gate step
The request waits for the answer. A non-approve answer fails the step.
- name: Approval gate
run: |
curl -sf actionfeed.net/deploys \
-H "Authorization: Bearer ${{ secrets.ACTIONFEED_TOKEN }}" \
-H "Actions: Deploy, Cancel" \
-H "Wait: 15m" \
-d "Deploy ${{ github.sha }} to production?" \
| grep -q '"action":"Deploy"'Step 3
Verify the signature (optional)
Check the signed answer with verifyApproval() from the JavaScript SDK before you deploy.