This commit is contained in:
parent
b4a8da83ba
commit
c27eab668d
1 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||||
fetch-depth: 1 # Fetch all history for .GitInfo and .Lastmod
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||||
|
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: https://github.com/peaceiris/actions-hugo@v2
|
uses: https://github.com/peaceiris/actions-hugo@v2
|
||||||
|
@ -34,6 +34,6 @@ jobs:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
key: ${{ secrets.KEY }}
|
key: ${{ secrets.KEY }}
|
||||||
source: "*"
|
source: "public/*"
|
||||||
target: "/var/www/kekskurse.de/"
|
target: "/var/www/kekskurse.de/"
|
||||||
working-directory: "public/"
|
strip_components: 1
|
Reference in a new issue