-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom domain support #25
Comments
How about the following? - name: Build
run: |
hugo --gc --minify --cleanDestinationDir
cp ./path/to/CNAME ./public/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v2.3.1
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public And, most of the Static Site Generators can support
The same may be said of other files ( |
Oh, I see. I used to set the CNAME via TravisCI, and it seems better to set it in the project. |
The current version of the action seems like it doesn't support custom domain. It would be great if we could set the CNAME via the deploy command.
The text was updated successfully, but these errors were encountered: