1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
name: Documentation
permissions:
contents: write
on:
push:
branches:
- main
permissions:
contents: write
env:
CONSOLE_OUTPUT: XTerm
BUNDLE_WITH: maintenance
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.1"
bundler-cache: true
- name: Installing packages
run: sudo apt-get install wget
- name: Prepare GitHub Pages
run: bundle exec bake github:pages:prepare --directory docs
- name: Generate documentation
timeout-minutes: 5
run: bundle exec bake utopia:project:static --force no
- name: Deploy GitHub Pages
run: bundle exec bake github:pages:commit --directory docs
|