File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to S3
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout
14+ id : checkout
15+ uses : actions/checkout@v4
16+
17+ - name : Install Node
18+ id : install-node
19+ uses : actions/setup-node@v4
20+ with :
21+ node-version : 20
22+
23+ - name : Install pnpm
24+ id : install-pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : 10
28+
29+ - name : Install dependencies
30+ id : install-dependencies
31+ run : |
32+ pnpm install --frozen-lockfile
33+
34+ - name : Config AWS Credentials
35+ id : config-aws-credentials
36+ uses : aws-actions/configure-aws-credentials@v4
37+ with :
38+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
39+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
40+ aws-region : ${{ vars.AWS_REGION }}
You can’t perform that action at this time.
0 commit comments