forked from jaredpalmer/tsdx
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: disable documentation workflow
we don't have bandwidth to maintain the documentation workflow at the moment so we're disabling it until we can get back to it.
- Loading branch information
1 parent
6376942
commit 590bbcd
Showing
1 changed file
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
name: GitHub Pages | ||
# name: GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
# on: | ||
# push: | ||
# branches: | ||
# - main | ||
# pull_request: | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-20.04 | ||
defaults: | ||
run: | ||
working-directory: docs | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
# jobs: | ||
# deploy: | ||
# runs-on: ubuntu-20.04 | ||
# defaults: | ||
# run: | ||
# working-directory: docs | ||
# concurrency: | ||
# group: ${{ github.workflow }}-${{ github.ref }} | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
# - name: Setup Node | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: '14' | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
# - name: Cache dependencies | ||
# uses: actions/cache@v3 | ||
# with: | ||
# path: ~/.npm | ||
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-node- | ||
|
||
- run: npm install | ||
- run: npm run build | ||
- run: npm run export | ||
# - run: npm install | ||
# - run: npm run build | ||
# - run: npm run export | ||
|
||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs/out | ||
# - name: Deploy | ||
# uses: peaceiris/actions-gh-pages@v3 | ||
# if: ${{ github.ref == 'refs/heads/main' }} | ||
# with: | ||
# github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# publish_dir: ./docs/out |