Skip to content

feat: create pulumi-backstage-plugin (#175) #237

feat: create pulumi-backstage-plugin (#175)

feat: create pulumi-backstage-plugin (#175) #237

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@v3
- 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@v3
- 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 }}