diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ce3f5758..bf714c15 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,33 +31,34 @@ jobs: run: pnpm install --prefix ./docs - name: Build - run: cd docs && pnpm run generate + run: | + cd docs + pnpm run generate + ls -la .output/public - name: Fix permissions run: | - chmod -c -R +rX "./docs/.output/public" | while read line; do + chmod -c -R +rX "docs/.output/public" | while read line; do echo "::warning title=Invalid file permissions automatically fixed::$line" done - - name: Upload Pages artifact - uses: actions/upload-pages-artifact@v2 + - name: Upload static files as artifact + id: deployment + uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action with: - path: ./docs/.output/public + path: docs/.output/public deploy: - needs: build - + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} permissions: pages: write id-token: write actions: read - - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest + needs: build steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4 diff --git a/README.md b/README.md index 0debe8d8..85b57d2c 100644 --- a/README.md +++ b/README.md @@ -27,10 +27,10 @@ Built with Go, Backrest is distributed as a standalone, lightweight binary with - **Web Interface**: Access locally or remotely (perfect for NAS deployments) - **Multi-Platform Support**: -- Linux -- macOS -- Windows -- FreeBSD + - Linux + - macOS + - Windows + - FreeBSD - [Docker](https://hub.docker.com/r/garethgeorge/backrest) - **Backup Management**: - Import existing restic repositories @@ -39,7 +39,7 @@ Built with Go, Backrest is distributed as a standalone, lightweight binary with - Configurable notifications (Discord, Slack, Shoutrrr, Gotify, Healthchecks) - Pre/post backup command hooks to execute shell scripts - **Storage Options**: -- Compatible with rclone remotes + - Compatible with rclone remotes - Supports all restic storage backends (S3, B2, Azure, GCS, local, SFTP, and [all rclone remotes](https://rclone.org/)) ---