Last active
June 2, 2021 21:55
-
-
Save riquellopes/de57efd410555b2d296875c3cf7a38dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dist: xenial | |
language: go | |
go: | |
- master | |
addons: | |
snaps: hugo | |
before_script: | |
- rm -rf public 2> /dev/null | |
script: | |
- hugo | |
- echo "$CNAME_URL" > public/CNAME | |
deploy: | |
provider: pages | |
skip-cleanup: true | |
github-token: $GITHUB_TOKEN | |
email: $GITHUB_EMAIL | |
name: $GITHUB_USERNAME | |
verbose: true | |
keep-history: true | |
local-dir: public | |
target_branch: master | |
on: | |
branch: hugo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment