Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Fix Ubuntu packaging of DVDNR (#425) #66

Fix Ubuntu packaging of DVDNR (#425)

Fix Ubuntu packaging of DVDNR (#425) #66

name: Deploy to GitHub Pages
on:
push:
branches:
- main
# Allow one concurrent deployment
concurrency:
group: deploy-to-github-pages
cancel-in-progress: true
jobs:
deploy:
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
cd docs
npm install
npm run build
- name: Setup GitHub Pages 🛠
uses: actions/configure-pages@v2
- name: Upload artifact ⬆️
uses: actions/upload-pages-artifact@v1
with:
path: docs/build
- name: Deploy to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v1