Skip to content

Commit

Permalink
fix: fix reading user input
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sureshraj committed Jan 7, 2024
1 parent 62e9aa7 commit 537c7a7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-to-dev-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ permissions:
env:
AWS_REGION : 'eu-west-2'

defaults:
run:
working-directory: ${{ github.event.inputs.directory_name }}

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.event.inputs.directory_name }}
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
Expand All @@ -47,6 +46,9 @@ jobs:
environment: development
permissions:
id-token: write # Fetch an OpenID Connect (OIDC) token.
defaults:
run: # steps that have run command will use the given example project path
working-directory: ${{ github.event.inputs.directory_name }}
steps:
- name: Git clone the repository
uses: actions/checkout@v4
Expand All @@ -57,7 +59,6 @@ jobs:
node-version: 20

- name: Install dependencies
working-directory: ./deployment-with-github-actions
run: npm ci

- name: configure aws credentials
Expand Down

0 comments on commit 537c7a7

Please sign in to comment.