Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshay committed Aug 13, 2023
1 parent 8bd1fd9 commit 62be433
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
environment: production
steps:
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@main
with:
role-to-assume: ${{ secrets.AWS_READ_WRITE_ROLE_ARN }}
aws-region: us-west-2
role-session-name: GitHubActions
- uses: actions/setup-node@v2
with:
node-version: "18"
cache: "npm"
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-west-2
role-session-name: GitHubActions
role-to-assume: ${{ secrets.AWS_READ_WRITE_ROLE_ARN }}
- run: npm ci
- run: npm run deploy -- cloudflareZones emailAccounts --auto-approve
10 changes: 5 additions & 5 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
cmd: [synth, format, build]
steps:
- uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@main
with:
role-to-assume: ${{ secrets.AWS_READ_ROLE_ARN }}
aws-region: us-west-2
role-session-name: GitHubActions
- uses: actions/setup-node@v2
with:
node-version: "18"
cache: "npm"
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-west-2
role-session-name: GitHubActions
role-to-assume: ${{ secrets.AWS_READ_ROLE_ARN }}
- run: npm ci
- run: npm run ${{ matrix.cmd }}

0 comments on commit 62be433

Please sign in to comment.