remove partial setting & add ref to HEAD

This commit is contained in:
Colgrave 2025-02-03 13:20:25 -05:00
parent 6e95f2c75a
commit b2cd8833e4

View File

@ -20,15 +20,14 @@ clone:
- name: clone-page
image: docker.io/woodpeckerci/plugin-git
settings:
partial: false
remote: https://codeberg.org/<YOUR_USERNAME>/<YOUR_PAGE_REPO>.git
ref: HEAD
path: public
# clone the pages branch
# - name: clone-page
# image: woodpeckerci/plugin-git
# settings:
# branch: pages
# partial: false
# path: public
steps:
@ -44,7 +43,7 @@ steps:
image: docker.io/appleboy/drone-git-push:latest
settings:
ssh_key:
from_secret: codeberg_ssh
from_secret: ssk_key
# push to your static page repository, change it to your need
remote: git@codeberg.org:<YOUR_USERNAME>/pages.git
# if you are using a branch rather than a repo, change `remote` setting