Update custom domain for github page pipeline

This commit is contained in:
Hien To 2023-08-30 12:26:56 +07:00
parent 90aa721e7d
commit 8b3ac1b32e

View File

@ -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