Skip to content

Merge pull request #55 from vesperfi/fix-deploy #5

Merge pull request #55 from vesperfi/fix-deploy

Merge pull request #55 from vesperfi/fix-deploy #5

Workflow file for this run

name: AWS EB Deploy
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
publish-to-eb:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: bloq/actions/setup-node-env@v1
- run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install --upgrade awscli==1.27.81 awsebcli==3.20.5
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ vars.AWS_REGION }}
- run: ./scripts/1-site
env:
NEXT_PUBLIC_ANALYTICS_ID: ${{ vars.NEXT_PUBLIC_ANALYTICS_ID }}
NEXT_PUBLIC_NODE_URL: ${{ vars.NEXT_PUBLIC_NODE_URL }}
NODE_URL: ${{ secrets.NODE_URL }}
STAGE: ${{ vars.STAGE }}
timeout-minutes: 30