-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (36 loc) · 950 Bytes
/
remix-deploy.yml
File metadata and controls
43 lines (36 loc) · 950 Bytes
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
36
37
38
39
40
41
42
43
name: Remix GQL Tailwind
on:
push:
branches: [main]
paths:
- "remix-gql-tailwind/**"
pull_request:
branches: [main]
paths:
- "remix-gql-tailwind/**"
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
defaults:
run:
working-directory: remix-gql-tailwind
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: 📥 Install dependencies
run: yarn install --frozen-lockfile
- name: 🏗 Build
run: yarn run build
- name: 🛠 Install Arc
run: yarn global add @architect/architect
- name: 🚀 Deploy
run: arc deploy --production
env:
CI: true
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}