File tree Expand file tree Collapse file tree 6 files changed +7
-18
lines changed
Expand file tree Collapse file tree 6 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 deployment :
10- runs-on : ubuntu-latest
10+ runs-on : self-hosted
1111 environment : .env
1212 steps :
1313 - name : Checkout main branch
14- uses : actions/checkout@v3
15-
14+ uses : actions/checkout@v2
1615 - name : Setup Node.js
17- uses : actions/setup-node@v3
16+ uses : actions/setup-node@v1
1817 with :
19- node-version : ' 16'
20-
21- - name : Clean npm cache
22- run : npm cache clean --force
23-
18+ node-version : ' 16.x'
2419 - name : Install dependencies
25- run : npm ci --verbose
26- timeout-minutes : 5
27-
20+ run : npm ci
2821 - name : Create env file
2922 run : |
3023 touch .env
3124 echo NOTION_TOKEN=${{ secrets.NOTION_TOKEN }} >> .env
3225 cat .env
33-
34- # - name: Ensure target directory exists
35- # run: mkdir -p /var/www/orienting.sfpc.study/html/
36-
37- # - name: Copy Orienting Directory
38- # run: rsync -a --delete orienting.sfpc.study/ /var/www/orienting.sfpc.study/html/
26+ - name : Copy Orienting Directory
27+ run : rsync -a --delete orienting.sfpc.study/ /var/www/orienting.sfpc.study/html/
You can’t perform that action at this time.
0 commit comments