Skip to content

Bump @adobe/css-tools from 4.0.1 to 4.3.1 in /website #54

Bump @adobe/css-tools from 4.0.1 to 4.3.1 in /website

Bump @adobe/css-tools from 4.0.1 to 4.3.1 in /website #54

name: Build React Site & Docs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm i
cd ./website
npm i
- name: Build Docs
run: npm run docs
- name: Deploy
run: |
cd ./website
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.ACCESS_TOKEN }}
repository: ${{ github.repository }}