Skip to content

GitHub Pages

GitHub Pages #7

Workflow file for this run

name: GitHub Pages
on:
push:
tags: [ "v*" ]
jobs:
deploy:
runs-on: ubuntu-24.04
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build
run: yarn build --base /video-player
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v1
with:
path: "dist/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3