Skip to content

ci: replace gh-pages with dist-pages #1

ci: replace gh-pages with dist-pages

ci: replace gh-pages with dist-pages #1

Workflow file for this run

name: Main workflow
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Specific Node.js version 🦄
uses: actions/setup-node@v3
with:
node-version: 20
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 📎
env:
BASE_URL: ${{ vars.BASE_URL }}
run: |
npm install
npm run docs:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: dist-pages
folder: dist
- name: Webhook 📲
uses: wei/curl@master
with:
args: ${{ vars.DEPLOY_WEBHOOK_URL }}?secret=${{ secrets.DEPLOY_WEBHOOK_SECRET }}