Skip to content

Add initial project structure with React and TypeScript #5

Add initial project structure with React and TypeScript

Add initial project structure with React and TypeScript #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Use BunJs
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun i
- run: bun run build
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: github-pages
path: dist
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: self-hosted
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4