Implementado workflows para o gitea. #3
15
.gitea/workflows/build.yaml
Normal file
15
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
name: Build e Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main", "master" ]
|
||||
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Chamar Webhook do Coolify
|
||||
run: |
|
||||
curl -X GET "https://coolify.stackpanel.com.br/webhooks/source/gitea/events/manual" \
|
||||
-H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}"
|
||||
Reference in New Issue
Block a user