Skip to content

Commit af13ba2

Browse files
Set Netlify workflow task to use lfs
1 parent 437f05c commit af13ba2

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ jobs:
6161
hugo \
6262
--minify \
6363
--baseURL "${{ steps.pages.outputs.base_url }}/"
64-
- name: Upload artifact
65-
uses: actions/upload-pages-artifact@v2
66-
with:
67-
path: ./public
6864
6965
# Deployment job
7066
deploy:
@@ -84,6 +80,18 @@ jobs:
8480
if: ${{ github.event_name == 'schedule' }}
8581
needs: build
8682
steps:
83+
- name: Checkout repository with LFS
84+
uses: actions/checkout@v4
85+
with:
86+
lfs: true
87+
submodules: recursive
88+
- name: Install Git LFS
89+
run: |
90+
sudo apt-get update
91+
sudo apt-get install git-lfs
92+
git lfs install
93+
- name: Pull Git LFS files
94+
run: git lfs pull
8795
- name: update netlify
8896
id: netlify
8997
run:

0 commit comments

Comments
 (0)