diff --git a/.forgejo/workflows/deplo.yml b/.forgejo/workflows/deplo.yml index 8ebac9b..7d73970 100644 --- a/.forgejo/workflows/deplo.yml +++ b/.forgejo/workflows/deplo.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v3 with: 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 uses: https://github.com/peaceiris/actions-hugo@v2 @@ -34,6 +34,6 @@ jobs: host: ${{ secrets.HOST }} username: ${{ secrets.USERNAME }} key: ${{ secrets.KEY }} - source: "*" + source: "public/*" target: "/var/www/kekskurse.de/" - working-directory: "public/" \ No newline at end of file + strip_components: 1 \ No newline at end of file