fix: readded pfsense to refresh call since it was not the culprit for the deployment delays
This commit is contained in:
@@ -6,14 +6,14 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '01-proxmox-infra/**'
|
- "01-proxmox-infra/**"
|
||||||
- '.gitea/workflows/**'
|
- ".gitea/workflows/**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '01-proxmox-infra/**'
|
- "01-proxmox-infra/**"
|
||||||
- '.gitea/workflows/**'
|
- ".gitea/workflows/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
preview:
|
preview:
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: "24"
|
||||||
|
|
||||||
- name: Restore Stack Config
|
- name: Restore Stack Config
|
||||||
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
|
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '24'
|
node-version: "24"
|
||||||
|
|
||||||
- name: Restore Stack Config
|
- name: Restore Stack Config
|
||||||
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
|
run: echo "${{ secrets.PROXMOX_INFRA_PULUMI_DEV_YAML }}" | base64 -d > 01-proxmox-infra/Pulumi.dev.yaml
|
||||||
@@ -81,15 +81,14 @@ jobs:
|
|||||||
working-directory: 01-proxmox-infra
|
working-directory: 01-proxmox-infra
|
||||||
|
|
||||||
- name: Refresh State
|
- name: Refresh State
|
||||||
run: |
|
uses: pulumi/actions@v5
|
||||||
pulumi login "$PULUMI_BACKEND_URL"
|
with:
|
||||||
pulumi refresh --yes --stack dev \
|
command: refresh
|
||||||
--target 'urn:pulumi:dev::proxmox-infra::proxmoxve*' \
|
stack-name: dev
|
||||||
--target 'urn:pulumi:dev::proxmox-infra::tls*'
|
work-dir: 01-proxmox-infra
|
||||||
working-directory: 01-proxmox-infra
|
cloud-url: ${{ secrets.PULUMI_BACKEND_URL }}
|
||||||
env:
|
env:
|
||||||
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
|
PULUMI_CONFIG_PASSPHRASE: ${{ secrets.PULUMI_CONFIG_PASSPHRASE }}
|
||||||
PULUMI_BACKEND_URL: ${{ secrets.PULUMI_BACKEND_URL }}
|
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: pulumi/actions@v5
|
uses: pulumi/actions@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user