diff --git a/Python/mkdocs.yml b/Python/mkdocs.yml index 2f0846d..9032b74 100644 --- a/Python/mkdocs.yml +++ b/Python/mkdocs.yml @@ -4,24 +4,18 @@ steps: build-docs: - # build the docs in /docs with mkdocs and - # add the .domains file for codeberg pages + # build the docs with mkdocs and add the .domains file for codeberg pages image: squidfunk/mkdocs-material commands: - - mkdocs build -f ./mkdocs.yml -d docs_build - - git switch --orphan pages - - mv docs_build/* . - - echo -e '\n.codeberg.page\npages..codeberg.page' > .domains + - mkdocs build + - echo -e '\n.codeberg.page\npages..codeberg.page' > site/.domains deploy-docs: - # Push the resulting files to openfindata/pages - # to deploy - image: appleboy/drone-git-push + image: codeberg.org/xfix/plugin-codeberg-pages-deploy settings: + folder: site + repository_name: /pages branch: main - remote: git@codeberg.org:/pages.git - force: true - commit: true ssh_key: # created using woodpecker cli with: # woodpecker secret add -repository / \