Skip to content

Merge pull request #105 from sanddev-com/dependabot/npm_and_yarn/mult… #7

Merge pull request #105 from sanddev-com/dependabot/npm_and_yarn/mult…

Merge pull request #105 from sanddev-com/dependabot/npm_and_yarn/mult… #7

Workflow file for this run

name: Deploy with gh-pages
on:
push:
branches: [master]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install and build
run: |
npm ci
npm run build
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy-docs:ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}