Skip to content

Commit

Permalink
chore: Update release action (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieSinn authored Oct 23, 2024
1 parent 6f73ee8 commit 6b8e93d
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,17 @@ jobs:
strategy:
matrix:
node-version: [20.x]
env:
# The setup-node action configures this env var as the source for the npm auth token
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
# Check out the repo with credentials that can bypass branch protection, and fetch git history instead of just latest commit
- uses: actions/checkout@v4
with:
token: ${{ secrets.AUTOMATION_USER_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-[email protected]
- name: Set Secrets
uses: DevCycleHQ/aws-secrets-action@main
with:
role-to-assume: arn:aws:iam::134377926370:role/GitHub-Actions
aws-region: us-east-1
secrets_map: '{"NODE_AUTH_TOKEN":"DEVCYCLE_GITHUB_JS-SDKS_NPM_TOKEN"}'
aws_account_id: '134377926370'

- name: Configure git
run: |
Expand Down

0 comments on commit 6b8e93d

Please sign in to comment.