Bug/rework ci triggers #7

Merged
kasun merged 2 commits from bug/rework-ci-triggers into main 2026-06-02 00:31:08 +02:00
2 changed files with 7 additions and 18 deletions
+6 -11
View File
@@ -2,18 +2,13 @@ name: Deploy Proxmox Infra
on:
workflow_dispatch:
push:
branches:
- main
paths:
- '01-proxmox-infra/**'
- '.gitea/workflows/**'
pull_request:
branches:
- main
paths:
- '01-proxmox-infra/**'
- '.gitea/workflows/**'
- "01-proxmox-infra/**"
- ".gitea/workflows/**"
jobs:
preview:
@@ -27,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
node-version: "24"
- name: Restore Stack Config
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
@@ -56,7 +51,7 @@ jobs:
deploy:
name: Pulumi Deploy
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'workflow_dispatch'
steps:
- name: Checkout Code
uses: actions/checkout@v4
@@ -64,7 +59,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
node-version: "24"
- name: Restore Stack Config
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
@@ -2,12 +2,6 @@ name: Deploy k8s Bootstrap
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "02-k8s-bootstrap/**"
- ".gitea/workflows/02-deploy-k8s-bootstrap.yaml"
pull_request:
branches:
- main
@@ -49,7 +43,7 @@ jobs:
deploy:
name: Bootstrap k3s Cluster
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'workflow_dispatch'
steps:
- name: Checkout Code
uses: actions/checkout@v4