1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
market/.github/workflows/deploy.yml
mihaisc ed13131f57
fix ci (#1498)
* fix ci

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* add v3

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-08 14:31:36 +02:00

27 lines
654 B
YAML

name: 'Deploy'
on:
push:
branches:
- main
jobs:
s3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm ci --legacy-peer-deps
- run: npm run build
env:
NEXT_PUBLIC_INFURA_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_INFURA_PROJECT_ID }}
NEXT_PUBLIC_PORTIS_ID: ${{ secrets.NEXT_PUBLIC_PORTIS_ID }}
- run: npm run deploy:s3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}