Skip to content

Compile and deploy

Compile and deploy #1

Workflow file for this run

name: Compile and deploy
on:
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
TZ: Asia/Shanghai
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm ci
npm install -g typescript
tsc
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: bin # The folder the action should deploy.
branch: test