From b66ab71084bd77db2b933639669fee97844cae1f Mon Sep 17 00:00:00 2001 From: Patrick Date: Thu, 28 Nov 2024 03:06:37 +0100 Subject: [PATCH] Update "Modify the GitHub Actions workflow" docs (#55) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 362efd42..1f3b392d 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ The GitHub Actions workflow that builds and deploys your site to Github Pages is - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' + ruby-version: '3.3' bundler-cache: true cache-version: 0 working-directory: '${{ github.workspace }}/docs' @@ -135,9 +135,9 @@ The GitHub Actions workflow that builds and deploys your site to Github Pages is ```yaml - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: - path: "docs/_site/" + path: docs/_site/ ``` 4. Modify the trigger so that only changes within the `docs` directory start the workflow. Otherwise, every change to your project (even those that don't affect the docs) would trigger a new site build and deploy.