Skip to content

Commit

Permalink
feat: add automated dev build
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Mar 22, 2021
1 parent 45e1396 commit c78999d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,21 @@ jobs:

- name: Build
run: npm run build

- name: Create Artifact
run: |
cd ./dist
zip -r fluidd.zip ./
cd ..
- name: Prepare Deploy
run: |
rm ./dist/fluidd.zip
cp ./server/config.json ./dist/config.json
- name: Deploy to Host
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
npm run deploy.host.dev

0 comments on commit c78999d

Please sign in to comment.