From a8e67cc9f201217fedb0b641f85fb59c5427c20a Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Mon, 23 Jan 2023 13:44:13 -0500 Subject: [PATCH] ci: Remove docs build/deploy workflow (#188) Signed-off-by: Thane Thomson Signed-off-by: Thane Thomson --- .github/workflows/docs-deployment.yml | 65 --------------------------- 1 file changed, 65 deletions(-) delete mode 100644 .github/workflows/docs-deployment.yml diff --git a/.github/workflows/docs-deployment.yml b/.github/workflows/docs-deployment.yml deleted file mode 100644 index 51a145c0ad2..00000000000 --- a/.github/workflows/docs-deployment.yml +++ /dev/null @@ -1,65 +0,0 @@ -# Build and deploy the docs.tendermint.com website content. -# The static content is published to GitHub Pages. -# -# For documentation build info, see docs/DOCS_README.md. -name: Build static documentation site -on: - workflow_dispatch: # allow manual updates - push: - branches: - - main - - v0.34.x - paths: - - docs/** - - spec/** - -jobs: - # This is split into two jobs so that the build, which runs npm, does not - # have write access to anything. The deploy requires write access to publish - # to the branch used by GitHub Pages, however, so we can't just make the - # whole workflow read-only. - build: - name: VuePress build - runs-on: ubuntu-latest - container: - image: alpine:latest - permissions: - contents: read - steps: - - name: Install generator dependencies - run: | - apk add --no-cache make bash git npm - - uses: actions/checkout@v3 - with: - # We need to fetch full history so the backport branches for previous - # versions will be available for the build. - fetch-depth: 0 - - name: Build documentation - env: - NODE_OPTIONS: "--openssl-legacy-provider" - run: | - git config --global --add safe.directory "$PWD" - make build-docs - - uses: actions/upload-artifact@v3 - with: - name: build-output - path: /tmp/tendermint-core-docs - - deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest - needs: build - permissions: - contents: write - steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 - with: - name: build-output - path: ~/output - - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4 - with: - branch: 'docs-tendermint-com' - folder: ~/output - single-commit: true