Skip to content

content(grokking algorithms): notes on chapter 8 - part 1 #271

content(grokking algorithms): notes on chapter 8 - part 1

content(grokking algorithms): notes on chapter 8 - part 1 #271

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
github_pages_deploy:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: |
yarn install
yarn export
- name: Deploy
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn deploy -- -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}