Skip to content

Commit a11986d

Browse files
authored
Merge pull request #27 from finale-lua/static
Add deploy-to-aws.yml
2 parents 3964566 + fae85e0 commit a11986d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy site to AWS
2+
3+
on:
4+
push:
5+
branches:
6+
- current-production-version
7+
8+
jobs:
9+
deploy:
10+
name: Deploy
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout repo
14+
uses: actions/checkout@v4
15+
16+
- name: Deploy to AWS
17+
if: github.event_name == 'push'
18+
uses: onramper/[email protected]
19+
with:
20+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
21+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
22+
domain: pdk.finalelua.com
23+
publish_dir: ./html

0 commit comments

Comments
 (0)