Skip to content

Commit

Permalink
Consolidate to single workflow job
Browse files Browse the repository at this point in the history
  • Loading branch information
tomakehurst committed Jan 3, 2024
1 parent 5703aed commit 6ef062c
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/deploy-to-amplify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: aws-actions/[email protected]
with:
role-to-assume: arn:aws:iam::499333472133:role/GitHub-wiremock.org-Deploy
aws-region: us-east-1

- name: Checkout
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -92,16 +97,7 @@ jobs:
# directory: ./_site
# enforce_https: false

# Deployment job
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: aws-actions/[email protected]
with:
role-to-assume: arn:aws:iam::499333472133:role/GitHub-wiremock.org-Deploy
aws-region: us-east-1
- name: Deploy to Amplify
run: |
ls -l
bash -x ./deploy-amplify.sh
bash -x ./deploy-amplify.sh

0 comments on commit 6ef062c

Please sign in to comment.