Add working directory to workflow
This commit is contained in:
parent
624cefb3c0
commit
817d096e43
1 changed files with 4 additions and 1 deletions
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
|
@ -7,7 +7,10 @@ jobs:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Install Hugo
|
- name: Install Hugo
|
||||||
run: sudo apt-get install hugo
|
run: sudo apt-get install hugo
|
||||||
|
|
||||||
- name: Run Hugo
|
- name: Run Hugo
|
||||||
run: (cd exampleSite; hugo)
|
working-directory: exampleSite
|
||||||
|
run: hugo --themesDir ../..
|
||||||
|
|
Loading…
Reference in a new issue