Update deploy.yml

This commit is contained in:
alicesaidhi 2025-02-17 16:56:56 +01:00 committed by GitHub
parent 86117b2d6d
commit 7464e1656f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,7 @@ name: site-deploy
on: on:
push: push:
branches: [main] # todo: remove later branches: [web-docs] # todo: remove later
workflow_dispatch: workflow_dispatch:
@ -24,15 +24,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: 18 node-version: 18
- name: Setup Pages - name: Setup Pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v5
- name: Install dependencies - name: Install dependencies
run: npm install run: npm install
- name: Build with VitePress - name: Build with VitePress