mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-12 21:35:25 -04:00
remove partial setting & add ref to HEAD
This commit is contained in:
parent
6e95f2c75a
commit
b2cd8833e4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user