From 1fe3c397264b334b528c51260fe34c81f6785841 Mon Sep 17 00:00:00 2001 From: maslow Date: Thu, 27 Jun 2024 16:51:23 +0800 Subject: [PATCH] chore: remove useless gh workflow --- .github/workflows/deploy-doc-deprecated.yml | 38 --------------------- 1 file changed, 38 deletions(-) delete mode 100644 .github/workflows/deploy-doc-deprecated.yml diff --git a/.github/workflows/deploy-doc-deprecated.yml b/.github/workflows/deploy-doc-deprecated.yml deleted file mode 100644 index 037c57d622..0000000000 --- a/.github/workflows/deploy-doc-deprecated.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: deploy deprecated docs - -on: - workflow_dispatch: - push: - branches: [main] - paths: - - "docs_deprecated/**" - - ".github/workflows/deploy-doc-deprecated.yml" -env: - LAF_CI_DOCS_PAT: ${{ secrets.LAF_CI_DOCS_PAT }} - LAF_CI_DOCS_APPID: ${{ secrets.LAF_CI_DOCS_APPID }} - LAF_CI_DOCS_BUCKET_NAME: ${{ secrets.LAF_CI_DEPRECATED_DOCS_BUCKET_NAME }} - LAF_API_URL: ${{ secrets.LAF_API_URL }} - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Build Docs - uses: ./.github/actions/build-docs - with: - docs-path: docs_deprecated - - - name: Setup laf-cli - run: npm i laf-cli -g - - name: Login laf-cli - run: | - laf user add doc -r ${{ env.LAF_API_URL }} - laf user switch doc - laf login ${{ env.LAF_CI_DOCS_PAT }} - - name: Deploy to laf - working-directory: docs_deprecated/.vitepress - run: | - laf app init ${{ env.LAF_CI_DOCS_APPID }} - laf storage push -f ${{ env.LAF_CI_DOCS_BUCKET_NAME }} dist/