fix gitignores in hugo docs by using filtered files from rsync

This commit is contained in:
Willy Kloucek
2020-12-02 12:33:50 +01:00
parent fd027ffd3d
commit d69f58d28f
+9 -9
View File
@@ -1283,14 +1283,6 @@ def docs(ctx):
'hugo',
],
},
{
'name': 'list and remove temporary files',
'image': 'owncloudci/alpine:latest',
'commands': [
'tree hugo/public',
'rm -rf docs/hugo',
],
},
{
'name': 'publish',
'image': 'plugins/gh-pages:1',
@@ -1302,7 +1294,7 @@ def docs(ctx):
'password': {
'from_secret': 'github_token',
},
'pages_directory': 'docs/',
'pages_directory': 'docs/hugo/content',
'target_branch': 'docs',
},
'when': {
@@ -1313,6 +1305,14 @@ def docs(ctx):
},
},
},
{
'name': 'list and remove temporary files',
'image': 'owncloudci/alpine:latest',
'commands': [
'tree hugo/public',
'rm -rf docs/hugo',
],
},
{
'name': 'downstream',
'image': 'plugins/downstream',