Update CI to track the master branch

This commit is contained in:
Gabriel Arazas 2021-01-28 00:22:11 +08:00
parent 17bb1e10e5
commit cbaa5bdd88

View File

@ -15,6 +15,7 @@ before_install:
- sudo gem install asciidoctor - sudo gem install asciidoctor
script: script:
- curl https://api.github.com/repos/foo-dogsquared/hugo-theme-more-contentful | jq '.[0].sha' --raw-output | xargs -I{} hugo mod get "github.com/foo-dogsquared/hugo-theme-more-contentful@{}" && hugo mod tidy
- hugo - hugo
env: env:
@ -29,4 +30,6 @@ deploy:
github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
target_branch: gh-pages target_branch: gh-pages
on: on:
branch: demo branch:
- demo
- master