Skip to content

Merge pull request #275 from ddemaio/master #63

Merge pull request #275 from ddemaio/master

Merge pull request #275 from ddemaio/master #63

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: ["master"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install dependencies
run: |
gem install mini_racer -v 0.6.3
bundler install
cp config/site.example.yml config/site.yml
- name: Build documentation
run: bundler exec rake doc:html
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './doc/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1