mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-04 12:37:19 -04:00
Merge pull request #1005 from owncloud/fix_gitignores_in_docs
[docs-only] fix gitignores in hugo docs
This commit is contained in:
18
.drone.star
18
.drone.star
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user