Github Action. Starts Pulumi in CI environment. See workflow examples here
name: Test
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- uses: prepor/setup-pulumi@master
with:
version: 1.3.4
- uses: prepor/github-pulumi@master
with:
stack: dev
args: up
root: example
github-token: ${{ secrets.GITHUB_TOKEN }}
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}