Skip to content

Commit

Permalink
chore: move AWS CLI setup action to the main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Oct 9, 2024
1 parent fd74e30 commit 3a0a1a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/actions/setup-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ runs:
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Env dependencies setup
shell: bash
run: |
sudo apt-get update
sudo apt-get -y install python3-pip python3-dev
pip install awscli --upgrade --user
- name: Project dependencies setup, node version ${{ inputs.node-version }}
shell: bash
run: yarn install --frozen-lockfile
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

- name: AWS CLI setup
uses: aws-actions/setup-aws-cli@v2

- uses: ./.github/actions/setup-env
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 3a0a1a9

Please sign in to comment.