-
-
Save mhaagens/016c8139f2163a7b27fded86a5187a48 to your computer and use it in GitHub Desktop.
Pulumi Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Infrastructure | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- "infrastructure/**" | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- run: yarn install | |
- uses: pulumi/actions@v3 | |
with: | |
command: up | |
stack-name: myproject-dev | |
work-dir: infrastructure | |
comment-on-pr: true | |
env: | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.github/ | |
workflows/ | |
infrastructure.yml | |
apps/ | |
web/ | |
... | |
infrastructure/ | |
Pulumi.myproject-dev.yaml | |
Pulumi.yaml | |
... | |
package.json | |
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
encryptionsalt: ENCRYPTION_SALT | |
config: | |
digitalocean:token: | |
secure: DIGITAL_OCEAN_TOKEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: myproject | |
runtime: nodejs | |
description: MyProject infrastructure | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment