Skip to content

Commit bbbe3a5

Browse files
committed
changed participants to students
1 parent d1495ab commit bbbe3a5

File tree

3 files changed

+534
-4948
lines changed

3 files changed

+534
-4948
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
11
name: Continuous Deployment
2-
32
on:
43
push:
54
branches:
65
- main
7-
86
jobs:
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/

0 commit comments

Comments
 (0)