Skip to content

chore(deps): bump semver from 6.3.0 to 6.3.1 in /landing (#272) #6

chore(deps): bump semver from 6.3.0 to 6.3.1 in /landing (#272)

chore(deps): bump semver from 6.3.0 to 6.3.1 in /landing (#272) #6

# This workflow will do a clean installation of node dependencies, build the Next.js project and export the static site then deploy it to Github Pages
name: Deploy `landing` to Github Pages
on:
push:
branches:
- "main"
paths:
- "landing/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js v16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
working-directory: ./landing
run: |
yarn install
- name: Build and export Next.js site 🔧
working-directory: ./landing
run: |
yarn build
touch ./out/.nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./landing/out