File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : website
2
+ on :
3
+ push :
4
+ branches : [website]
5
+
6
+ jobs :
7
+ website :
8
+ if : github.repository == 'remix-run/react-router'
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ node-version : [14.x]
14
+
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+
18
+ - name : Use Node.js ${{ matrix.node-version }}
19
+ uses : actions/setup-node@v1
20
+ with :
21
+ node-version : ${{ matrix.node-version }}
22
+
23
+ - name : Install dependencies
24
+ run : yarn install --frozen-lockfile
25
+
26
+ - name : Build
27
+ run : yarn build
28
+
29
+ - name : Test
30
+ run : yarn test & yarn size
31
+
32
+ - name : Setup
33
+ run : |
34
+ echo "Deploying website to https://reactrouter.com/"
35
+ openssl aes-256-cbc -K $encrypted_70c5e56b421c_key -iv $encrypted_70c5e56b421c_iv -in website-deploy-key.enc -out website-deploy-key -d
36
+ chmod 600 website-deploy-key
37
+ eval $(ssh-agent -s)
38
+ ssh-add website-deploy-key
39
+
40
+ - name : Deploy
41
+ run : bash scripts/deploy-website.sh
You can’t perform that action at this time.
0 commit comments