Skip to content

Commit

Permalink
Add manual pulumi up workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Apr 28, 2024
1 parent 31a6a94 commit 39dc428
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/manual_pulumi_up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Manual pulumi up
on:
workflow_dispatch:

jobs:
deploy::
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9

- name: Run Black
uses: psf/black@stable
with:
src: "."

- name: Install flake8
run: pip install flake8

- uses: TrueBrain/actions-flake8@v2

- name: Install Pulumi
run: |
python3 -m venv venv
venv/bin/pip install -r requirements.txt
- name: Pulumi Up
uses: pulumi/actions@v5
with:
command: up
stack-name: org
work-dir: "."
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}

0 comments on commit 39dc428

Please sign in to comment.