Skip to content

Commit

Permalink
fix: update publish stable AWS pipeline (#1218)
Browse files Browse the repository at this point in the history
* fix: update publish stable AWS pipeline

* Update CHANGELOG.md
  • Loading branch information
eduardocesb authored Mar 25, 2024
1 parent 482eaa2 commit 0c78f67
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/publish-stable-aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
aws-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
Expand All @@ -15,15 +18,19 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: 'Install makensis (apt)'
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{secrets.AWS_ROLE_NAME }}
role-session-name: github-actions-from-toolbelt
aws-region: us-east-1
- name: Deploy on AWS
run: |
yarn install --ignore-scripts
yarn release
yarn release:win
env:
IS_CI: "true"
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
publish-success:
runs-on: ubuntu-latest
needs: [aws-publish]
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- handle OPTIONS request for CORS
- update `publish-stable-aws` pipeline

## [4.0.4] - 2023-11-03

Expand Down

0 comments on commit 0c78f67

Please sign in to comment.