Skip to content

feat: add kubecon-china-2023-tekton #251

feat: add kubecon-china-2023-tekton

feat: add kubecon-china-2023-tekton #251

Workflow file for this run

name: Pulumi
on:
push:
tags:
- '*'
pull_request:
paths-ignore:
- '**/.github/'
jobs:
preview:
name: Preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
- run: go mod download
- uses: pulumi/actions@v4
with:
command: preview
stack-name: dev
comment-on-pr: true
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
up:
name: Up
runs-on: ubuntu-latest
needs:
- preview
if: success() && startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.x
- run: go mod download
- uses: pulumi/actions@v4
with:
command: up
stack-name: dev
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}