From c9120789678aa8eeffb0ca3c6f21342b54b5fa9e Mon Sep 17 00:00:00 2001 From: Zechariah Date: Tue, 31 May 2022 01:53:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20cname=20file=20before=20deplo?= =?UTF-8?q?ying=20to=20github=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index cca8915..f892742 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -22,6 +22,9 @@ jobs: - 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