Skip to content

Commit

Permalink
fix: update publish stable AWS pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardocesb authored Mar 25, 2024
1 parent 482eaa2 commit 6f27956
Showing 1 changed file with 9 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

0 comments on commit 6f27956

Please sign in to comment.