Skip to content

Commit fe7bb0f

Browse files
committed
Setup uplaod to server step
1 parent 61c7140 commit fe7bb0f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ jobs:
2828
- run: yarn extract
2929
- run: yarn compile
3030
- run: yarn build
31+
- name: Upload built files to server
32+
uses: easingthemes/ssh-deploy@main
33+
env:
34+
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
35+
ARGS: '-rltgoDzvO'
36+
SOURCE: 'build/'
37+
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
38+
REMOTE_USER: ${{ secrets.REMOTE_USER }}
39+
TARGET: '~/philippines-bootcamp/infra/emr/'
3140
- name: Setup QEMU
3241
uses: docker/setup-qemu-action@v3
3342
- name: Setup Docker builder

0 commit comments

Comments
 (0)