Updating README with info regarding Roaster online instance + cleanup #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
concurrency: ci-${{github.ref}} | |
permissions: | |
id-token: write | |
pages: write | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Configure Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- name: Build | |
run: | | |
npm ci | |
npm run build | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
folder: dist | |
branch: gh-pages |