fix: use exact working CI pattern from WarrantyHub
CI/CD Pipeline / Build & Deploy (push) Failing after 42s
CI/CD Pipeline / Build & Deploy (push) Failing after 42s
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
|||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
deploy:
|
||||||
name: Build & Deploy
|
name: Build & Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -34,6 +34,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
|
gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
|
||||||
|
|
||||||
- name: Deploy to Portainer
|
- name: Redeploy via Portainer webhook
|
||||||
run: |
|
run: |
|
||||||
curl -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}"
|
curl --max-time 10 -X POST "${{ secrets.PORTAINER_WEBHOOK_URL }}" || true
|
||||||
|
|||||||
Reference in New Issue
Block a user