Skip to content

Commit e00ce02

Browse files
authored
Update docs.yml
1 parent b1ece15 commit e00ce02

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

.github/workflows/docs.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
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
77

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
1313

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
3030

31-
- name: Generate Contributors Table
32-
run: |
33-
yarn all-contributors generate
31+
# - name: Generate Contributors Table
32+
# run: |
33+
# yarn all-contributors generate
3434

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
3939

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'
4949

0 commit comments

Comments
 (0)