Skip to content

Docs: update lading page (banner & latest release fetch) (#883) #16

Docs: update lading page (banner & latest release fetch) (#883)

Docs: update lading page (banner & latest release fetch) (#883) #16

name: Live-debugger landing page publish
on:
push:
paths:
- ".github/workflows/landing-publish.yml"
- landing/**
branches:
- main
workflow_dispatch:
jobs:
live-debugger-landing-publish:
if: github.repository == 'software-mansion/live-debugger'
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: "true"
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: "npm"
cache-dependency-path: landing/package-lock.json
- name: Install node dependencies
working-directory: landing
run: npm install
- name: Build landing page
working-directory: landing
run: npm run build
- name: Publish generated content to GitHub Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
FOLDER: landing/dist
BRANCH: gh-pages
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}