Merge pull request #16 from janhq/fix/github-page-customdomain

Update custom domain for github page pipeline
This commit is contained in:
hiento09 2023-08-30 12:33:56 +07:00 committed by GitHub
commit 914e7663dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- main - main
- fix/github-page-customdomain
# Review gh actions docs if you want to further define triggers, paths, etc # 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 # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
@ -25,6 +26,9 @@ jobs:
- name: Build website - name: Build website
run: yarn build run: yarn build
working-directory: docs working-directory: docs
- name: Add Custome Domain file
run: echo "docs.jan.ai" > ./docs/build/CNAME
# Popular action to deploy to GitHub Pages: # Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus