Merge pull request #16 from janhq/fix/github-page-customdomain
Update custom domain for github page pipeline
This commit is contained in:
commit
914e7663dd
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@ -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
|
||||
|
||||
@ -26,6 +27,9 @@ jobs:
|
||||
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
|
||||
- name: Deploy to GitHub Pages
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user