Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
stjernen committed Oct 18, 2024
1 parent 7716679 commit 6131dec
Show file tree
Hide file tree
Showing 4 changed files with 1,093 additions and 114 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Change dir
uses: cd frontend
- name: Install
run: npm i

- name: Run tests
uses: npm run test
run: npm run test

# Task 1.1:

deploy-infrastructure:
name: Deploy infrastructure with Terraform
runs-on: ubuntu-latest
# Task 1.2:
needs:
- frontend-tests
env:
TF_VAR_my_name: ${{ github.head_ref }}
ARM_CLIENT_ID: ${{ vars.ARM_CLIENT_ID }}
Expand Down Expand Up @@ -60,6 +62,8 @@ jobs:
run: terraform plan

# Task 2.3:
- name: Create Infrastructure
run: terraform apply

- name: Get Terraform output
id: terraform-output
Expand Down
Loading

0 comments on commit 6131dec

Please sign in to comment.