|
@@ -30,18 +30,6 @@ jobs:
|
|
|
restore-keys: |
|
|
|
${{ runner.os }}-yarn-
|
|
|
|
|
|
- - name: Set SSH Environment
|
|
|
- env:
|
|
|
- DOCS_DEPLOY_KEY: ${{ secrets.ACCESS_TOKEN }}
|
|
|
- run: |
|
|
|
- mkdir -p ~/.ssh/
|
|
|
- echo "$ACCESS_TOKEN" > ~/.ssh/id_rsa
|
|
|
- chmod 600 ~/.ssh/id_rsa
|
|
|
- ssh-keyscan github.com > ~/.ssh/known_hosts
|
|
|
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/*
|
|
|
- git config --local user.email "321200875@qq.com"
|
|
|
- git config --local user.name "kailong321200875"
|
|
|
-
|
|
|
- name: Build
|
|
|
run: |
|
|
|
yarn install
|