Merge pull request #1005 from owncloud/fix_gitignores_in_docs

[docs-only] fix gitignores in hugo docs
This commit is contained in:
Willy Kloucek
2020-12-02 12:41:41 +01:00
committed by GitHub

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',