Skip to content

Commit

Permalink
Add custom domain file generation to GH action.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Jun 26, 2022
1 parent a1e164b commit 6d67944
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
# Rename the generated mkdocs dcumentation in the ./_site directory to ./docs.
- run: mv -fT "${GITHUB_WORKSPACE}/_out" docs

# Add custom GH pages domain file.
- run: echo "dict.press" > CNAME

# Commit everything and push gj-pages/
- run: git add -A && git commit -am "Publish site"
- run: git push --force origin gh-pages

0 comments on commit 6d67944

Please sign in to comment.