Skip to content

Commit

Permalink
pipeline: fix/to specify deployment cname
Browse files Browse the repository at this point in the history
- for the github pages "custom domain"
  • Loading branch information
mrostamii committed Feb 7, 2024
1 parent 90a259e commit bc432f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-docusaurus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Docusaurus to GitHub Pages
on:
push:
branches:
- main
- develop

jobs:
build-and-deploy:
Expand All @@ -23,6 +23,9 @@ jobs:
npm install
npm run build
- name: Setup CNAME
run: echo "${{ vars.CNAME }}" > build/CNAME

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit bc432f7

Please sign in to comment.