From 8b3ac1b32e6d77ab371844a9cb59b841e4639c65 Mon Sep 17 00:00:00 2001 From: Hien To <> Date: Wed, 30 Aug 2023 12:26:56 +0700 Subject: [PATCH] Update custom domain for github page pipeline --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 06babfdab..88de994f4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - fix/github-page-customdomain # Review gh actions docs if you want to further define triggers, paths, etc # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on @@ -25,6 +26,9 @@ jobs: - name: Build website run: yarn build working-directory: docs + + - name: Add Custome Domain file + run: echo "docs.jan.ai" > ./docs/build/CNAME # Popular action to deploy to GitHub Pages: # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus