Skip to content

Bump nanoid from 3.3.7 to 3.3.8 in /documentation (#1448) #272

Bump nanoid from 3.3.7 to 3.3.8 in /documentation (#1448)

Bump nanoid from 3.3.7 to 3.3.8 in /documentation (#1448) #272

name: Deploy website
on:
push:
branches:
- main
env:
RUBY_VERSION: 3.0.3
NODE_VERSION: 20.4.0
jobs:
release:
name: Deploy website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: yarn
- name: Install website dependencies
run: |
sudo gem install bundler
cd website
sudo bundle install
- name: Publish website and docs
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn deploy:website -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}