Skip to content

Merge branch 'main' of https://github.com/OnionUI/Onion #73

Merge branch 'main' of https://github.com/OnionUI/Onion

Merge branch 'main' of https://github.com/OnionUI/Onion #73

Workflow file for this run

name: Deploy Docs to GitHub Pages
on:
push:
branches: [main]
paths:
- 'website/**/*'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: 'website'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: '**/yarn.lock'
- uses: webfactory/ssh-agent@v0.5.0
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Deploy to GitHub Pages
env:
USE_SSH: true
run: |
git config --global user.email "44569252+Aemiii91@users.noreply.github.com"
git config --global user.name "Aemiii91"
yarn install --frozen-lockfile
yarn deploy