Skip to content

add link to enroute Tutorials in the Getting Started page #457

add link to enroute Tutorials in the Getting Started page

add link to enroute Tutorials in the Getting Started page #457

Workflow file for this run

name: CI Build
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
env:
LC_ALL: en_US.UTF-8
defaults:
run:
shell: bash
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
pages: write
id-token: write
jobs:
GitHub_Pages:
name: GitHub Pages
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: Gemfile
BUNDLE_PATH: vendor/bundle
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Git Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Ruby
uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1.187.0
with:
ruby-version: 2.7
bundler-cache: true
# Download and install the Pagefind binary
# see releases: https://github.com/CloudCannon/pagefind/releases
- name: Install Pagefind for Search
run: |
curl -L https://github.com/CloudCannon/pagefind/releases/download/v1.3.0/pagefind-v1.3.0-x86_64-unknown-linux-musl.tar.gz \
-o pagefind.tar.gz
tar xzf pagefind.tar.gz
chmod +x pagefind
- name: Build
run: |
./.github/scripts/docs.sh
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: GitHub_Pages
if: github.ref == 'refs/heads/master' # <= Restrict deploy to master
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4