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]
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
deploy:
|
||||
name: Build & Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@@ -34,6 +34,6 @@ jobs:
|
||||
tags: |
|
||||
gitlab.impresion3d.pro/root/davidaragon-portfolio:latest
|
||||
|
||||
- name: Deploy to Portainer
|
||||
- name: Redeploy via Portainer webhook
|
||||
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