|
1 | | -name: Docs |
2 | | -on: |
3 | | - workflow_dispatch: |
4 | | - push: |
5 | | - branches: |
6 | | - - main |
| 1 | +# name: Docs |
| 2 | +# on: |
| 3 | +# workflow_dispatch: |
| 4 | +# push: |
| 5 | +# branches: |
| 6 | +# - main |
7 | 7 |
|
8 | | -jobs: |
9 | | - docs: |
10 | | - runs-on: ubuntu-latest |
11 | | - steps: |
12 | | - - uses: actions/checkout@master |
| 8 | +# jobs: |
| 9 | +# docs: |
| 10 | +# runs-on: ubuntu-latest |
| 11 | +# steps: |
| 12 | +# - uses: actions/checkout@master |
13 | 13 |
|
14 | | - - uses: actions/setup-node@v2 |
15 | | - - name: Add Missing Contributors |
16 | | - env: |
17 | | - PRIVATE_TOKEN: ${{ github.token }} |
18 | | - run: | |
19 | | - yarn add all-contributors-cli |
20 | | - # Fetch Contributors and Add them |
21 | | - CONTRIBUTORS="$(yarn all-contributors check)" |
22 | | - CONTRIBUTORS=$(echo $CONTRIBUTORS | sed -E 's/^.*all-contributors check//g' | sed -E 's/Missing contributors in .all-contributorsrc: //g' | sed -E 's/Unknown contributors.*//g' | sed -E 's/Done in.*//g' | sed 's/^[ \t]*//;s/[ \t]*$//' | sed -E 's/\,//g') |
23 | | - # Add Contributors (code) |
24 | | - if [ -z $CONTRIBUTORS ]; then |
25 | | - echo "Everyone has been awarded credits! :D" |
26 | | - else |
27 | | - echo "Adding Contributors $CONTRIBUTORS" |
28 | | - echo $CONTRIBUTORS | xargs -d " " -I '{}' yarn all-contributors add {} code |
29 | | - fi |
| 14 | +# - uses: actions/setup-node@v2 |
| 15 | +# - name: Add Missing Contributors |
| 16 | +# env: |
| 17 | +# PRIVATE_TOKEN: ${{ github.token }} |
| 18 | +# run: | |
| 19 | +# yarn add all-contributors-cli |
| 20 | +# # Fetch Contributors and Add them |
| 21 | +# CONTRIBUTORS="$(yarn all-contributors check)" |
| 22 | +# CONTRIBUTORS=$(echo $CONTRIBUTORS | sed -E 's/^.*all-contributors check//g' | sed -E 's/Missing contributors in .all-contributorsrc: //g' | sed -E 's/Unknown contributors.*//g' | sed -E 's/Done in.*//g' | sed 's/^[ \t]*//;s/[ \t]*$//' | sed -E 's/\,//g') |
| 23 | +# # Add Contributors (code) |
| 24 | +# if [ -z $CONTRIBUTORS ]; then |
| 25 | +# echo "Everyone has been awarded credits! :D" |
| 26 | +# else |
| 27 | +# echo "Adding Contributors $CONTRIBUTORS" |
| 28 | +# echo $CONTRIBUTORS | xargs -d " " -I '{}' yarn all-contributors add {} code |
| 29 | +# fi |
30 | 30 |
|
31 | | - - name: Generate Contributors Table |
32 | | - run: | |
33 | | - yarn all-contributors generate |
| 31 | +# - name: Generate Contributors Table |
| 32 | +# run: | |
| 33 | +# yarn all-contributors generate |
34 | 34 |
|
35 | | - - name: Generate docs |
36 | | - run: | |
37 | | - npm i |
38 | | - npm run docs |
| 35 | +# - name: Generate docs |
| 36 | +# run: | |
| 37 | +# npm i |
| 38 | +# npm run docs |
39 | 39 |
|
40 | | - - name: Deploy to GitHub Pages |
41 | | - uses: peaceiris/actions-gh-pages@v3 |
42 | | - with: |
43 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
44 | | - publish_dir: ./docs |
45 | | - cname: materializeweb.com |
46 | | - exclude_assets: node_modules |
47 | | - user_name: 'github-actions[bot]' |
48 | | - user_email: 'github-actions[bot]@users.noreply.github.com' |
| 40 | +# - name: Deploy to GitHub Pages |
| 41 | +# uses: peaceiris/actions-gh-pages@v3 |
| 42 | +# with: |
| 43 | +# github_token: ${{ secrets.GITHUB_TOKEN }} |
| 44 | +# publish_dir: ./docs |
| 45 | +# cname: materializeweb.com |
| 46 | +# exclude_assets: node_modules |
| 47 | +# user_name: 'github-actions[bot]' |
| 48 | +# user_email: 'github-actions[bot]@users.noreply.github.com' |
49 | 49 |
|
0 commit comments