File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 97
97
- run : docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
98
98
- run : make docker-push DOCKER_IMAGE_TAG=$CIRCLE_TAG
99
99
100
+ docs :
101
+ docker :
102
+ - image : cibuilds/hugo:latest
103
+ working_directory : ~/hugo
104
+ steps :
105
+ - run : apk update && apk add git
106
+ - checkout
107
+ - run :
108
+ name : Deploy to GitHub Pages
109
+ command : |
110
+ cd website
111
+ hugo -v
112
+ cd public
113
+ git init
114
+ git config --global user.email "[email protected] "
115
+ git config --global user.name "AdrienF"
116
+ git add .
117
+ git commit -m "Deploy from CI"
118
+ git push --force --quiet "https://${GITHUB_TOKEN}@github.com/adrien-f/thanos.git" master:gh-pages
119
+
100
120
workflows :
101
121
version : 2
102
122
thanos :
@@ -128,3 +148,7 @@ workflows:
128
148
only : /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
129
149
branches :
130
150
ignore : /.*/
151
+ - docs :
152
+ filters :
153
+ branches :
154
+ only : feature/docs-hugo
You can’t perform that action at this time.
0 commit comments