From 89af69cd41cfc52ed535ed299f7fc701b4a8e430 Mon Sep 17 00:00:00 2001 From: Zechariah Date: Sun, 25 Dec 2022 02:13:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20remove=20deploying=20to=20github?= =?UTF-8?q?=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 33 ------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 .github/workflows/deploy-docs.yml diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index f892742..0000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Deploy Docs -on: - push: - branches: - - main - paths: - - docs/**/*.* - - .github/workflows/deploy-docs.yml -jobs: - deploy-docs: - runs-on: ubuntu-latest - steps: - - name: Performing Repository Checkout - uses: actions/checkout@v2 - - - name: Performing Pnpm Install on Workspace - uses: pnpm/action-setup@v2.2.2 - with: - version: 6.0.2 - run_install: true - - - name: Building VuePress Docs - run: pnpm run docs:build - - - name: Creating CNAME file - run: echo "ytmusic-api.zectan.com" > docs/.vuepress/dist/CNAME - - - name: Deploying with gh-pages - run: | - git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - pnpx -y gh-pages -d docs/.vuepress/dist -u "github-actions-bot " - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}