|
1 | 1 | name: Automated Deployment |
2 | | -'on': |
3 | | - push: |
4 | | - branches: |
5 | | - - master |
| 2 | +"on": |
| 3 | + push: |
| 4 | + branches: |
| 5 | + - master |
6 | 6 | jobs: |
7 | | - about: |
8 | | - runs-on: ubuntu-latest |
9 | | - steps: |
10 | | - - name: Checkout |
11 | | - uses: actions/checkout@v2 |
12 | | - - name: Jaid/action-sync-node-meta |
13 | | - |
14 | | - with: |
15 | | - direction: overwrite-github |
16 | | - githubToken: '${{ secrets.GITHUB }}' |
17 | | - release: |
18 | | - runs-on: ubuntu-latest |
19 | | - steps: |
20 | | - - name: Checkout |
21 | | - uses: actions/checkout@v3 |
22 | | - - name: Semantic Release |
23 | | - uses: cycjimmy/semantic-release-action@v3 |
24 | | - id: semantic |
25 | | - with: |
26 | | - extra_plugins: | |
27 | | - @semantic-release/changelog |
28 | | - @semantic-release/git |
29 | | - @semantic-release/github |
30 | | - env: |
31 | | - GITHUB_TOKEN: '${{ secrets.GITHUB }}' |
32 | | - NPM_TOKEN: '${{ secrets.NPM_TOKEN }}' |
33 | | - outputs: |
34 | | - new_release_published: '${{ steps.semantic.outputs.new_release_published }}' |
35 | | - new_release_version: '${{ steps.semantic.outputs.new_release_version }}' |
| 7 | + about: |
| 8 | + runs-on: ubuntu-latest |
| 9 | + steps: |
| 10 | + - name: Checkout |
| 11 | + uses: actions/checkout@v3 |
| 12 | + - name: setup nodejs |
| 13 | + uses: actions/setup-node@v3 |
| 14 | + with: |
| 15 | + node-version: 16 |
| 16 | + - name: Jaid/action-sync-node-meta |
| 17 | + |
| 18 | + with: |
| 19 | + direction: overwrite-github |
| 20 | + githubToken: "${{ secrets.GITHUB }}" |
| 21 | + release: |
| 22 | + runs-on: ubuntu-latest |
| 23 | + steps: |
| 24 | + - name: Checkout |
| 25 | + uses: actions/checkout@v3 |
| 26 | + - name: setup nodejs |
| 27 | + uses: actions/setup-node@v3 |
| 28 | + with: |
| 29 | + node-version: 14 |
| 30 | + - name: Semantic Release |
| 31 | + uses: cycjimmy/semantic-release-action@v3 |
| 32 | + id: semantic |
| 33 | + with: |
| 34 | + extra_plugins: | |
| 35 | + @semantic-release/changelog |
| 36 | + @semantic-release/git |
| 37 | + @semantic-release/github |
| 38 | + env: |
| 39 | + GITHUB_TOKEN: "${{ secrets.GITHUB }}" |
| 40 | + NPM_TOKEN: "${{ secrets.NPM_TOKEN }}" |
| 41 | + outputs: |
| 42 | + new_release_published: "${{ steps.semantic.outputs.new_release_published }}" |
| 43 | + new_release_version: "${{ steps.semantic.outputs.new_release_version }}" |
36 | 44 |
|
37 | | - docs: |
38 | | - runs-on: ubuntu-latest |
39 | | - steps: |
40 | | - - name: Checkout |
41 | | - uses: actions/checkout@v2 |
42 | | - - name: update documentation |
43 | | - uses: CoCreate-app/CoCreate-docs@master |
| 45 | + docs: |
| 46 | + runs-on: ubuntu-latest |
| 47 | + steps: |
| 48 | + - name: Checkout |
| 49 | + uses: actions/checkout@v3 |
| 50 | + - name: setup nodejs |
| 51 | + uses: actions/setup-node@v3 |
| 52 | + with: |
| 53 | + node-version: 16 |
| 54 | + |
| 55 | + - name: update documentation |
| 56 | + uses: CoCreate-app/CoCreate-docs@master |
0 commit comments