@@ -11,28 +11,25 @@ jobs:
1111 steps :
1212 - uses : actions/checkout@v4
1313
14- # TODO: 패키지 구조 변경 및 s3 배포에 따라 변경해야함
15- # - uses: actions/setup-node@v4
16- # with:
17- # node-version: '20'
18- # cache: 'yarn'
14+ - uses : actions/setup-node@v4
15+ with :
16+ node-version : ' 20'
17+ cache : ' yarn'
1918
20- # - name: build
21- # run: |
22- # rm ./apps/web/.env && mv ./apps/web/.env.dev ./apps/web/.env
23- # yarn set version 3.8.1
24- # yarn install --immutable --immutable-cache
25- # yarn web codegen
26- # yarn web build
19+ - name : build
20+ run : |
21+ rm ./websites/poolc.org/.env && mv ./websites/poolc.org/.env.dev ./websites/poolc.org/.env
22+ yarn set version 4.9.2
23+ yarn install --immutable --immutable-cache
24+ yarn workspace @dialga/poolc.org build
2725
28- # - name: scp
29- # uses: appleboy/scp-action@v0.1.7
30- # with:
31- # host: ${{ secrets.SSH_HOST }}
32- # username: ${{ secrets.SSH_USERNAME }}
33- # key: ${{ secrets.SSH_PEM_KEY }}
34- # port: ${{ secrets.SSH_PORT }}
35- # source: ./apps/web/build/*
36- # # TODO: 패키지 구조 변경에 따라 target 디렉토리도 변경해야함
37- # target: ~/k8s/dialga/build
38- # strip_components: 3
26+ - name : scp
27+ uses : appleboy/scp-action@v0.1.7
28+ with :
29+ host : ${{ secrets.SSH_HOST }}
30+ username : ${{ secrets.SSH_USERNAME }}
31+ key : ${{ secrets.SSH_PEM_KEY }}
32+ port : ${{ secrets.SSH_PORT }}
33+ source : ./websites/poolc.org/build/*
34+ target : ~/k8s/dialga/build
35+ strip_components : 3
0 commit comments