From ff771c0c5856c606940c3972c3316c41626ec093 Mon Sep 17 00:00:00 2001 From: prepor Date: Wed, 23 Oct 2019 17:39:58 +0200 Subject: [PATCH] readme --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7904271 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# setup-pulumi + +Github Action. Starts Pulumi in CI environment. See workflow examples [here](./.github/workflows/) + +## Usage + +```yaml +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 }} +```