mirror of
https://github.com/foo-dogsquared/hugo-theme-more-contentful.git
synced 2025-02-07 06:19:03 +00:00
Update CI to track the master branch
This commit is contained in:
parent
17bb1e10e5
commit
cbaa5bdd88
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user