Test 3
All checks were successful
Trigger build for deploying blog updates / build (push) Successful in 0s
All checks were successful
Trigger build for deploying blog updates / build (push) Successful in 0s
This commit is contained in:
@@ -11,14 +11,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Trigger blog update
|
- name: Trigger blog update
|
||||||
run: |
|
run: |
|
||||||
echo "${{secrets.GITEA}}"
|
|
||||||
curl -X POST "https://git.aranroig.com/api/v1/repos/Syndria98/aranroig.com/actions/workflows/deploy.yml/dispatches" \
|
curl -X POST "https://git.aranroig.com/api/v1/repos/Syndria98/aranroig.com/actions/workflows/deploy.yml/dispatches" \
|
||||||
-H "Authorization: token ${{ secrets.GITEA }}" \
|
-H "Authorization: token ${{ secrets.GITEA }}" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{
|
-d '{
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/master"
|
||||||
"inputs": {
|
|
||||||
"env": "production",
|
|
||||||
"version": "1.2.3"
|
|
||||||
}
|
|
||||||
}'
|
}'
|
||||||
|
|||||||
Reference in New Issue
Block a user