Files
FreshRSS/.github/workflows/docs-build-deploy.yml
dependabot[bot] d50c3bdb1b chore(deps): bump the github-actions group with 3 updates
Bumps the github-actions group with 3 updates: [docker/login-action](https://github.com/docker/login-action), [ruby/setup-ruby](https://github.com/ruby/setup-ruby) and [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action).


Updates `docker/login-action` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/81c6f93d4bc991e510b342a00b419b3bb4efc5c6...8aa5831fb8d48d8f76594c7ddde61ae58019f550)

Updates `ruby/setup-ruby` from 1.335.0 to 1.344.0
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](https://github.com/ruby/setup-ruby/compare/7f797815d8adceb1c412e7abefdd1ab4abc47a5f...78c62f2208e480ce3d5ae4dfd9b9e181acf48b63)

Updates `zizmorcore/zizmor-action` from 0.8.0 to 0.9.2
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](https://github.com/zizmorcore/zizmor-action/compare/53290badfa369cb0bf7ad16342cb62c2fa47ac7b...1b4550e929643b8b26a62303c6bd64814271a4f1)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: ruby/setup-ruby
  dependency-version: 1.344.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.9.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-12-01 19:14:31 +00:00

73 lines
2.2 KiB
YAML

name: Build & deploy Jekyll documentation
on:
# Runs on pushes and PRs targeting the default branch
push:
branches: ["edge"]
paths:
- 'docs/**'
- '.github/workflows/docs-build-deploy.yml'
pull_request:
branches: ["edge"]
paths:
- 'docs/**'
- '.github/workflows/docs-build-deploy.yml'
# Allows you to run this workflow manually from the Actions tab (deploy)
workflow_dispatch:
permissions: {}
concurrency:
group: docs-build-deploy-${{ github.ref }}
cancel-in-progress: false
jobs:
# Build job (the only job that runs in PRs to test the build)
build:
name: build
runs-on: ubuntu-26.04
permissions:
contents: read
pages: read # For the "Setup Pages" step
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Ruby
uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
env:
BUNDLE_FROZEN: true # Always respect Gemfile.lock (explicit)
with:
ruby-version: '3.4.9'
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 1 # Increment this number if you need to re-download cached gems
working-directory: docs
- name: Build with Jekyll
run: |
cd docs
bundle exec jekyll build --destination ../_site
- name: Setup Pages
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
if: ${{ github.ref == 'refs/heads/edge' }}
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
# Deployment job (skipped in PRs)
deploy:
name: deploy
if: ${{ github.ref == 'refs/heads/edge' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-26.04
permissions:
pages: write # For deploying the page
id-token: write # For authorizing the deployment
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1