File tree Expand file tree Collapse file tree 3 files changed +534
-4948
lines changed
Expand file tree Collapse file tree 3 files changed +534
-4948
lines changed Original file line number Diff line number Diff line change 11name : Continuous Deployment
2-
32on :
43 push :
54 branches :
65 - main
7-
86jobs :
97 deployment :
108 runs-on : self-hosted
119 environment : .env
1210 steps :
1311 - name : Checkout main branch
14- uses : actions/checkout@v2
12+ uses : actions/checkout@v4
13+
1514 - name : Setup Node.js
16- uses : actions/setup-node@v1
15+ uses : actions/setup-node@v4
1716 with :
18- node-version : ' 16.x'
19- - name : Install dependencies (verbose)
20- run : npm ci --verbose
17+ node-version : ' 18'
18+ cache : ' npm'
19+
20+ - name : Clear npm cache
21+ run : npm cache clean --force
22+
23+ - name : Install dependencies
24+ run : npm ci --no-audit --no-fund
25+ env :
26+ NODE_OPTIONS : ' --max-old-space-size=4096'
27+
2128 - name : Create env file
2229 run : |
2330 touch .env
2431 echo NOTION_TOKEN=${{ secrets.NOTION_TOKEN }} >> .env
2532 cat .env
33+
2634 - name : Copy Orienting Directory
2735 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