Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 43eb494

Browse files
authored
chore: Add GH action to deploy docs
1 parent 8affb6d commit 43eb494

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/docs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pushing docs
2+
on: push
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions/setup-node@v1
10+
with:
11+
node-version: 14
12+
- run: |
13+
cd website
14+
npm ci
15+
eval $(ssh-agent)
16+
ssh-add "$SSH_PATH/id_rsa"
17+
18+
ssh-keyscan -t rsa "github.com" >> "$SSH_PATH/known_hosts"
19+
echo "StrictHostKeyChecking no" >> "$SSH_PATH/config"
20+
USE_SSH=true GIT_USER="$GITHUB_ACTOR" npm run deploy

0 commit comments

Comments
 (0)