Skip to content

Commit d1f32cb

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

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/hugo.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,24 @@ jobs:
6666
with:
6767
path: ./public
6868

69-
# Deployment job
70-
deploy:
71-
environment:
72-
name: github-pages
73-
url: ${{ steps.deployment.outputs.page_url }}
74-
runs-on: ubuntu-latest
75-
needs: build
76-
steps:
77-
- name: Deploy to GitHub Pages
78-
id: deployment
79-
uses: actions/deploy-pages@v3
80-
8169
# update netlify
8270
netlify:
8371
runs-on: ubuntu-latest
8472
if: ${{ github.event_name == 'schedule' }}
8573
needs: build
8674
steps:
75+
- name: Checkout repository with LFS
76+
uses: actions/checkout@v4
77+
with:
78+
lfs: true
79+
submodules: recursive
80+
- name: Install Git LFS
81+
run: |
82+
sudo apt-get update
83+
sudo apt-get install git-lfs
84+
git lfs install
85+
- name: Pull Git LFS files
86+
run: git lfs pull
8787
- name: update netlify
8888
id: netlify
8989
run:

0 commit comments

Comments
 (0)