Skip to content

Merge pull request #54 from RustoMCSpit/patch-1 #46

Merge pull request #54 from RustoMCSpit/patch-1

Merge pull request #54 from RustoMCSpit/patch-1 #46

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- main
tags:
- 'v*'
jobs:
release:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build and run code
run: npm run build && npm start
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out