77 name : Lint
88 runs-on : ubuntu-18.04
99 steps :
10+ - name : Install SSH key
11+ uses : shimataro/ssh-key-action@v2
12+ with :
13+ key : ${{ secrets.SSH_KEY }}
14+ name : id_rsa
15+ known_hosts : unnecessary
1016 - uses : actions/checkout@v2
17+ - uses : ./.github/actions/remove-libs
1118 - uses : actions/setup-node@v1.4.4
1219 with :
1320 node-version : " 14"
@@ -18,31 +25,38 @@ jobs:
1825 runs-on : ubuntu-18.04
1926 needs : [lint]
2027 steps :
28+ - name : Install SSH key
29+ uses : shimataro/ssh-key-action@v2
30+ with :
31+ key : ${{ secrets.SSH_KEY }}
32+ name : id_rsa
33+ known_hosts : unnecessary
2134 - uses : actions/checkout@v2
35+ - uses : ./.github/actions/remove-libs
2236 - uses : actions/setup-node@v1.4.4
2337 with :
2438 node-version : " 14"
2539 - uses : ./.github/actions/functional-test
2640
27- doc-dead-links :
28- name : Check dead-links
29- runs-on : ubuntu-latest
30- steps :
31- - uses : actions/checkout@v2
32- with :
33- fetch-depth : 0
34- - name : Extract references from context
35- shell : bash
36- id : extract-refs
37- run : |
38- echo "::set-output name=version::$(git describe --abbrev=0 --tags | cut -d. -f 1)"
39- echo "::set-output name=repo::$(echo $GITHUB_REPOSITORY | cut -d/ -f 2)"
40- echo "::set-output name=fw-branch::$(if [ $BASE_BRANCH == master ]; then echo master; else echo develop; fi)"
41- - uses : convictional/trigger-workflow-and-wait@v1.3.0
42- with :
43- owner : kuzzleio
44- repo : documentation
45- github_token : ${{ secrets.ACCESS_TOKEN_CI }}
46- workflow_file_name : dead_links.workflow.yml
47- ref : ${{ steps.extract-refs.outputs.fw-branch }}
48- inputs : ' {"repo_name": "${{ steps.extract-refs.outputs.repo }}", "branch": "${{ github.head_ref }}", "version": "${{ steps.extract-refs.outputs.version }}"}'
41+ # doc-dead-links:
42+ # name: Check dead-links
43+ # runs-on: ubuntu-latest
44+ # steps:
45+ # - uses: actions/checkout@v2
46+ # with:
47+ # fetch-depth: 0
48+ # - name: Extract references from context
49+ # shell: bash
50+ # id: extract-refs
51+ # run: |
52+ # echo "::set-output name=version::$(git describe --abbrev=0 --tags | cut -d. -f 1)"
53+ # echo "::set-output name=repo::$(echo $GITHUB_REPOSITORY | cut -d/ -f 2)"
54+ # echo "::set-output name=fw-branch::$(if [ $BASE_BRANCH == master ]; then echo master; else echo develop; fi)"
55+ # - uses: convictional/trigger-workflow-and-wait@v1.3.0
56+ # with:
57+ # owner: kuzzleio
58+ # repo: documentation
59+ # github_token: ${{ secrets.ACCESS_TOKEN_CI }}
60+ # workflow_file_name: dead_links.workflow.yml
61+ # ref: ${{ steps.extract-refs.outputs.fw-branch }}
62+ # inputs: '{"repo_name": "${{ steps.extract-refs.outputs.repo }}", "branch": "${{ github.head_ref }}", "version": "${{ steps.extract-refs.outputs.version }}"}'
0 commit comments