File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 66 workflow_dispatch :
77
88jobs :
9- deploy :
9+ test_and_deploy :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout code
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v4
1414
1515 - name : Setup Bun
1616 uses : oven-sh/setup-bun@v1
@@ -20,15 +20,21 @@ jobs:
2020 - name : Install dependencies
2121 run : bun install
2222
23+ - name : Lint project
24+ run : bun run lint
25+
26+ - name : Run tests
27+ run : bun run test
28+
2329 - name : Build project
2430 run : bun run build
2531
2632 - name : Deploy to server
2733 uses : appleboy/scp-action@master
2834 with :
29- host : 69.62.124.138
30- username : yannvr
35+ host : ${{ secrets.SERVER_HOST }}
36+ username : ${{ secrets.SERVER_USERNAME }}
3137 key : ${{ secrets.SSH_PRIVATE_KEY }}
3238 source : " out/,public/,package.json"
33- target : " ~/hyperdrift/yieldmax "
39+ target : ${{ secrets.SERVER_TARGET_PATH }}
3440 strip_components : 0
You can’t perform that action at this time.
0 commit comments