diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 25b141f..183afe2 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -21,8 +21,7 @@ defaults: shell: bash jobs: - # Build job - build: + deploy: runs-on: ubuntu-latest env: HUGO_VERSION: 0.128.0 @@ -43,21 +42,11 @@ jobs: hugo \ --minify \ --cleanDestinationDir - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: ./public - - # Deployment job - deploy: - runs-on: ubuntu-latest - needs: build - steps: - name: rsync deployments uses: burnett01/rsync-deployments@7.0.2 with: switches: -rlp --delete - path: public/ + path: ./public/ remote_path: /var/www/johannes-dokumentation/ remote_host: johannes-dokumentation.z1glr.de remote_user: deploy_johannes-dokumentation