Skip to content

Update dependencies #72

Update dependencies

Update dependencies #72

Workflow file for this run

name: Deploy
on:
push:
paths-ignore:
- "docs/**"
branches: [ "main" ]
pull_request:
paths-ignore:
- "docs/**"
branches: [ "main" ]
workflow_dispatch:
branches: [ "main" ]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
VITE_TBA_API_KEY: ${{ secrets.TBA_KEY }}
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run build -- --base=/${{ github.event.repository.name }}/
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./dist
# Deployment job
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@v1