Skip to content

Commit

Permalink
Merge pull request #3 from olawanlejoel/olawanlejoel-patch-3
Browse files Browse the repository at this point in the history
Create CI pipeline for CI/CD
  • Loading branch information
olawanlejoel committed Jul 28, 2023
2 parents f00c560 + 510f346 commit 0e5e61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ jobs:
- name: Deploy to Kinsta
env:
KINSTA_API_KEY: ${{ secrets.KINSTA_API_KEY }}
APP_DEPLOYMENT_ID: ${{ secrets.APP_DEPLOYMENT_ID }}
APPp_DEPLOYMENT_ID: ${{ secrets.APP_DEPLOYMENT_ID }}
run: |
curl -i -X POST \
https://api.kinsta.com/v2/applications/deployments \
-H "Authorization: Bearer $KINSTA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"app_id": "'"$APP_DEPLOYMENT_ID"'",
"app_id": "'"$APPp_DEPLOYMENT_ID"'",
"branch": "main"
}'
Expand Down

0 comments on commit 0e5e61a

Please sign in to comment.