-
Notifications
You must be signed in to change notification settings - Fork 176
46 lines (37 loc) · 995 Bytes
/
docs.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
36
37
38
39
40
41
42
43
44
45
46
name: docs
on:
push:
branches:
- dev
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
id-token: write
contents: read
steps:
- name: checkout
uses: actions/checkout@v2
- name: aws
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::226609089145:role/www-production-GithubRole
role-session-name: GitHubActions
role-duration-seconds: 1200
- uses: actions/setup-go@v4
with:
go-version: '>=1.21.0'
- name: mod
run: go mod download
- uses: oven-sh/setup-bun@v1
- name: deploy
run: |
bun install
cd ./pkg/platform
./scripts/build-functions
cd ../../www
go run ../cmd/sst telemetry disable
go run ../cmd/sst deploy --stage=production