A different approach to LFS
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -1,22 +1,12 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: alpine/git
|
|
||||||
depth: 0 # disables shallow clone
|
|
||||||
lfs: true # enables LFS support
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: git-lfs
|
- name: setup
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
# - git lfs install --local
|
- git lfs install --skip-repo # Installs the LFS filters globally for the session
|
||||||
# - git lfs pull
|
- git lfs pull
|
||||||
# - git lfs checkout
|
|
||||||
# - git lfs env
|
|
||||||
- git lfs ls-files
|
|
||||||
- ls -lh static/img/thumbnails/2024-09-21/
|
- ls -lh static/img/thumbnails/2024-09-21/
|
||||||
- name: build
|
- name: build
|
||||||
image: git.ipng.ch/ipng/drone-hugo:release-0.148.2
|
image: git.ipng.ch/ipng/drone-hugo:release-0.148.2
|
||||||
|
Reference in New Issue
Block a user