diff options
| author | icecodder <git@icecodder.me> | 2023-01-02 14:39:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-02 14:39:09 +0100 |
| commit | 1acacaae21065be73a02a66868d5f019bf218fc0 (patch) | |
| tree | 50e02e8618475fed590695827b52f5f4869bf0d4 /.github/workflows | |
| parent | b5b53407c749e25a8aebe4f9381a61c7c36760e7 (diff) | |
remove github action doc deployment on vercel
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docs.yml | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 17bdb54..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,64 +0,0 @@ -name: Deploy site to Pages - -on: - push: - branches: ["main"] - - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: true - -env: - BUILD_PATH: docs - -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Detect package manager - id: detect-package-manager - run: | - echo "manager=yarn" >> $GITHUB_OUTPUT - echo "command=install" >> $GITHUB_OUTPUT - echo "runner=yarn" >> $GITHUB_OUTPUT - exit 0 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: "16" - - name: Setup Pages - id: pages - uses: actions/configure-pages@v2 - - name: Install dependencies - run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} - working-directory: ${{ env.BUILD_PATH }} - - name: Build - run: | - ${{ steps.detect-package-manager.outputs.runner }} docusaurus build - working-directory: ${{ env.BUILD_PATH }} - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - with: - path: ${{ env.BUILD_PATH }}/build - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - needs: build - runs-on: ubuntu-latest - name: Deploy - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v1 |
