Skip to content

CLI: handle invalid object property #2955

CLI: handle invalid object property

CLI: handle invalid object property #2955

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