refactor: website

This commit is contained in:
cha0s 2024-02-13 03:17:58 -06:00
parent 7fdbf157d5
commit 4b49fd37a4

View File

@ -14,17 +14,21 @@ jobs:
gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
path: website
ref: website
- uses: actions/checkout@v4
with:
submodules: true
token: ${{ secrets.GH_PAT }}
path: gh-pages
ref: gh-pages
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- run: npm config set registry ${{ vars.NPM_CI_REGISTRY }}
if: ${{ vars.NPM_CI_REGISTRY }}
- run: |
npm ci
npm run gh-pages