All checks were successful
Trigger build for deploying blog updates / build (push) Successful in 0s
25 lines
651 B
YAML
25 lines
651 B
YAML
name: Trigger build for deploying blog updates
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
- name: Trigger blog update
|
|
run: |
|
|
echo "${{secrets.GITEA}}"
|
|
curl -X POST "https://git.aranroig.com/api/v1/repos/Syndria98/aranroig.com/actions/workflows/deploy.yml/dispatches" \
|
|
-H "Authorization: token ${{ secrets.GITEA }}" \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"ref": "refs/heads/main",
|
|
"inputs": {
|
|
"env": "production",
|
|
"version": "1.2.3"
|
|
}
|
|
}'
|