Skip to content

Bump actions/checkout from 2 to 4 #273

Bump actions/checkout from 2 to 4

Bump actions/checkout from 2 to 4 #273

Workflow file for this run

name: deploy
on:
push:
branches:
- master
schedule:
# Weekly on a Friday at midnight
- cron: "0 0 * * 5"
jobs:
gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
id: nvmrc
shell: bash
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
- uses: actions/setup-node@v2
with:
node-version: ${{ steps.nvmrc.outputs.NODE_VERSION }}
- run: npm ci
- run: npm run build
env:
CI: true
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
branch: gh-pages
folder: dist