diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 72ad4993f..594ec1afe 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -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