Sha256: 0844ffb6449473e70747947aac601e230a00ac11ae8c0c6b5a4f9cbf5143504c

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

name: deploy-pages
on:
  push:
    branches: "main"
    paths-ignore:
      - README.md
      - CONTRIBUTING.md
      - LICENSE
      - .gitignore
      - .github/**
      - "!.github/workflows/deploy-pages.yml"
  workflow_dispatch:
concurrency:
  group: ${{ github.workflow }}
  cancel-in-progress: true
jobs:
  deploy-pages:
    environment:
      name: github-pages
      url: ${{ steps.deploy-pages.outputs.page_url }}
    permissions:
      pages: write
      id-token: write
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: latest
          # Lockfile is in subfolder
          # cache: npm
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ruby
      - run: rdoc -x docs
      - run: npm install
        working-directory: docs
      - id: configure-pages
        uses: actions/configure-pages@v4
      - run: npm run build
        working-directory: docs
        env:
          BASE_PATH: ${{ steps.configure-pages.outputs.base_path }}/
      - run: mv docs/.vitepress/dist _site
      - run: mv doc _site/reference/api-ruby
      - uses: actions/upload-pages-artifact@v3
      - id: deploy-pages
        uses: actions/deploy-pages@v4

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fontist-1.21.2 .github/workflows/deploy-pages.yml
fontist-1.21.1 .github/workflows/deploy-pages.yml
fontist-1.20.0 .github/workflows/deploy-pages.yml