-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (33 loc) · 1.01 KB
/
Deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# name: Deploy
# on:
# push:
# branches:
# - main
# jobs:
# Deploy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 18
# - name: Install
# run: npm ci
# - name: Build Api
# run: npm run build -w packages/api
# - name: Deploy Api
# uses: serverless/[email protected]
# with:
# args: deploy --stage develop -c serverless-api.yml
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# - name: Build UI
# run: npm run build -w packages/ui
# - name: Deploy UI
# uses: serverless/[email protected]
# with:
# args: deploy --stage develop -c serverless-ui.yml
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}