From dc0c0ac871e6552fee91443795b81a959cd61ae6 Mon Sep 17 00:00:00 2001 From: git_repo_user Date: Fri, 29 Aug 2025 22:10:31 +0000 Subject: [PATCH] deleted: .forgejo/workflows/.woodpecker.yml modified: themes/paper (modified content) --- .forgejo/workflows/.woodpecker.yml | 61 ------------------------------ 1 file changed, 61 deletions(-) delete mode 100644 .forgejo/workflows/.woodpecker.yml diff --git a/.forgejo/workflows/.woodpecker.yml b/.forgejo/workflows/.woodpecker.yml deleted file mode 100644 index cafa5d8..0000000 --- a/.forgejo/workflows/.woodpecker.yml +++ /dev/null @@ -1,61 +0,0 @@ -# hugo.yml -# -# Takes a repository with Hugo source, generates the static site and -# pushes the result to Codeberg pages -# -# Needs a codeberg access token (codeberg_token) as a secret in Woodpecker config -# Make sure the codeberg_token has "Repository and Organization Access" -> "package" -> "Read and Write" -# Also uses another secret (mail) with email address for git config -# -# .domains file in the repository is copied to the output branch so custom domains work -# -# The HUGO_OUTPUT variable must be set to the build output folder configured in Hugo -# - -# Exclude page pipeline to be run on "pages" branch -when: - branch: - exclude: main - event: [push, pull_request] - -# Recursive cloning is used to fully clone the themes given as Git submodules -clone: - git: - image: woodpeckerci/plugin-git - settings: - recursive: true - -steps: - # Build hugo static files - build: - image: hugomods/hugo:exts - commands: - - hugo --minify - when: - event: [pull_request, push] - - publish: - image: bitnami/git - environment: - HUGO_OUTPUT: public - # secrets must be set in Woodpecker configuration - MAIL: - from_secret: mail - GITNET_TOKEN: - from_secret: gitnet_token - commands: - # Git configuration - - git config user.email $MAIL - - git config user.name "Woodpecker CI" - - git clone https://$GITNET_TOKEN@gitnet.fr/$CI_REPO.git $CI_REPO_NAME - # Copy build step output to repository folder - - cp -ar $HUGO_OUTPUT/. $CI_REPO_NAME/ - # Needed for custom domains - - cp .domains $CI_REPO_NAME || true # Ignore if it doesn't exist - # Commit and push all static files with pipeline started timestamp - - cd $CI_REPO_NAME - - git add . - - git commit -m "Woodpecker CI ${CI_COMMIT_SHA}" - - git push - when: - event: push