docs(blog): publish the-first-eval post #1569
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |