mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-11 12:55:19 -04:00
fix clone-page step with proper ref point
This commit is contained in:
parent
273d4ab6dd
commit
b4dbe7e166
@ -25,15 +25,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: _site
|
||||
# clone the pages branch
|
||||
# - name: clone-page
|
||||
# image: woodpeckerci/plugin-git
|
||||
# settings:
|
||||
# branch: pages
|
||||
# partial: false
|
||||
# path: _site
|
||||
|
||||
steps:
|
||||
@ -52,7 +51,7 @@ steps:
|
||||
image: docker.io/appleboy/drone-git-push:latest
|
||||
settings:
|
||||
ssh_key:
|
||||
from_secret: codeberg_ssh
|
||||
from_secret: ssh_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