Skip to content

docs(blog): publish the-terminal-is-not-the-log #1575

docs(blog): publish the-terminal-is-not-the-log

docs(blog): publish the-terminal-is-not-the-log #1575

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- '**' # matches all branches
- '!gh-pages' # excludes gh-pages
permissions:
contents: write
pages: write
jobs:
build-and-deploy:
name: Build and deploy (ruby-${{ matrix.ruby_version }})
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version: ['3.3']
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Install dependencies
run: |
sudo npm install --global pug pug-cli
make install-deps
- name: Build
run: |
make build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/master'
with:
branch: gh-pages
folder: _site
git-config-name: GitHub Actions
git-config-email: noreply@github.com