Skip to content

Secure VODs

Secure VODs #9

Workflow file for this run

name: Github Pages CI
on:
push:
branches: [ "master" ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: mkdir _site
- run: cp index.* _site
- run: cp -r dist _site
- run: cp --parents node_modules/video.js/dist/video.js _site
- run: cp --parents node_modules/video.js/dist/video-js.css _site
- uses: actions/[email protected]
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4