Skip to content

CLI: more commands to support embedded prefix #2881

CLI: more commands to support embedded prefix

CLI: more commands to support embedded prefix #2881

name: Deploy Website
on:
push:
branches:
- main
pull_request:
jobs:
deploy_website:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.3
- run: |
bundle install
bundle exec jekyll build
- name: Install Netlify CLI
run: npm install netlify-cli --save-dev
- name: Deploy site on Netlify
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: netlify deploy --dir=_site --prod