Skip to content

Commit

Permalink
Update "Modify the GitHub Actions workflow" docs (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickSt1991 authored Nov 28, 2024
1 parent 5d2da81 commit b66ab71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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.
Expand Down

0 comments on commit b66ab71

Please sign in to comment.