Skip to content

Commit 135580f

Browse files
author
Adetokunbo Ige
committed
feat: add working directory to the github actions
Signed-off-by: Adetokunbo Ige <[email protected]>
1 parent 415f4d3 commit 135580f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/pulumi-deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
env:
1414
AWS_REGION: ${{ secrets.AWS_REGION }}
15-
15+
1616
permissions:
1717
id-token: write
1818
contents: read
@@ -34,17 +34,20 @@ jobs:
3434
- name: Install Dependencies
3535
run: |
3636
pip install -r requirements.txt
37+
working-directory: todo-app
3738

3839
- uses: pulumi/actions@v3
3940
with:
4041
command: preview
4142
stack-name: dev
4243
env:
4344
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
45+
working-directory: todo-app
4446

4547
- uses: pulumi/actions@v3
4648
with:
4749
command: up
4850
stack-name: dev
4951
env:
50-
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
52+
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
53+
working-directory: todo-app

todo-app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.pyc
22
venv/
3+

0 commit comments

Comments
 (0)