fix gitignores in hugo docs by using filtered files from rsync
This commit is contained in:
1 file changed
+9
-9
+9
-9
@@ -1283,14 +1283,6 @@ def docs(ctx):
|
|||||||
'hugo',
|
'hugo',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'name': 'list and remove temporary files',
|
|
||||||
'image': 'owncloudci/alpine:latest',
|
|
||||||
'commands': [
|
|
||||||
'tree hugo/public',
|
|
||||||
'rm -rf docs/hugo',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'name': 'publish',
|
'name': 'publish',
|
||||||
'image': 'plugins/gh-pages:1',
|
'image': 'plugins/gh-pages:1',
|
||||||
@@ -1302,7 +1294,7 @@ def docs(ctx):
|
|||||||
'password': {
|
'password': {
|
||||||
'from_secret': 'github_token',
|
'from_secret': 'github_token',
|
||||||
},
|
},
|
||||||
'pages_directory': 'docs/',
|
'pages_directory': 'docs/hugo/content',
|
||||||
'target_branch': 'docs',
|
'target_branch': 'docs',
|
||||||
},
|
},
|
||||||
'when': {
|
'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',
|
'name': 'downstream',
|
||||||
'image': 'plugins/downstream',
|
'image': 'plugins/downstream',
|
||||||
|
|||||||
Reference in new issue
Block a user