Skip to content

fix(dns): move GitHub pages site #1162

fix(dns): move GitHub pages site

fix(dns): move GitHub pages site #1162

Workflow file for this run

name: Pulumi
on:
workflow_dispatch:
schedule:
- cron: "45 5 * * *"
push:
branches:
- main
paths:
- .github/workflows/pulumi.yml
- deploy/**
- pkg/**
- Pulumi.*
- go.*
pull_request:
branches:
- main
jobs:
preview:
name: Preview
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main' || github.event_name == 'pull_request'
strategy:
fail-fast: false
matrix:
stack:
- foundation
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Download dependencies
run: go mod download
- name: Preview infrastructure
uses: pulumi/actions@v5
with:
refresh: true
comment-on-pr: true
command: preview
stack-name: ${{ matrix.stack }}
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
update:
name: Update
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
strategy:
fail-fast: false
matrix:
stack:
- foundation
environment:
name: ${{ matrix.stack }}
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Download dependencies
run: go mod download
- name: Update infrastructure
uses: pulumi/actions@v5
with:
refresh: true
command: update
stack-name: ${{ matrix.stack }}
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}