Switch hugo build workflow to checkout repo first
This commit is contained in:
parent
fa1995e956
commit
94363c8b8f
12
.github/workflows/Jafner.dev_hugo.yaml
vendored
12
.github/workflows/Jafner.dev_hugo.yaml
vendored
@ -28,18 +28,18 @@ jobs:
|
||||
env:
|
||||
HUGO_VERSION: 0.121.2
|
||||
steps:
|
||||
- name: Install Hugo CLI
|
||||
run: |
|
||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||
- name: Install Dart Sass
|
||||
run: sudo snap install dart-sass
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: 'true'
|
||||
fetch-depth: 0
|
||||
path: 'sites/Jafner.dev'
|
||||
- name: Install Hugo CLI
|
||||
run: |
|
||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||
- name: Install Dart Sass
|
||||
run: sudo snap install dart-sass
|
||||
- name: Setup Pages
|
||||
id: pages
|
||||
uses: actions/configure-pages@v4
|
||||
|
1
sites/Jafner.dev/themes/hello-friend-ng
Submodule
1
sites/Jafner.dev/themes/hello-friend-ng
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a902dacd8477728158ca181e17a340ea2f36d1ac
|
Loading…
Reference in New Issue
Block a user