diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 5f265dc..2ea0e8f 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -22,6 +22,10 @@ jobs: run: | echo "Run triggered by ${{ github.event_name }} (${{ github.event.action }}) on ref ${{ github.ref_name }}" + - uses: actions/checkout@v6 + with: + fetch-depth: 0 # pull full history for page lastmod by git commit date + - name: Install packages run: | apt update @@ -32,10 +36,6 @@ jobs: # For uploading. apt -y install rsync openssh-client - - uses: actions/checkout@v6 - with: - fetch-depth: 0 # pull full history for page lastmod by git commit date - - name: Build website - prod run: | mkdocs build