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:
|
env:
|
||||||
HUGO_VERSION: 0.121.2
|
HUGO_VERSION: 0.121.2
|
||||||
steps:
|
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
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: 'sites/Jafner.dev'
|
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
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v4
|
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