Skip to content
Discussion options

You must be logged in to vote

I've gone with this setup here, which works for my personal needs.
I use the --site-dir command override because the target repo hosts other stuff (Codeberg pages doesn't seem to support displaying repos with a pages branch as sub-pages of a custom domain (i.e. example.com/repo))

steps:
  build:
    image: python
    secrets: [cbtoken]
    commands:
      - chmod -R a+w .
      # Setup Git
      - git config --global --add safe.directory /woodpecker/src/codeberg.org/Andre601/blog-source/website
      - git config --global user.email "[email protected]"
      - git config --global user.name "CI Website Builder"
      - git config --global init.defaultBranch pages
      # Clone and move Ta…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant