Skip to content

從Aries0d0f/fix/ambiguous-injection-key合併拉取請求#38 #178

從Aries0d0f/fix/ambiguous-injection-key合併拉取請求#38

從Aries0d0f/fix/ambiguous-injection-key合併拉取請求#38 #178

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ${{ matrix.os }}
env:
SPREADSHEET_API_KEY: ${{ secrets.SPREADSHEET_API_KEY }}
PRETALX_TOKEN: ${{secrets.PRETALX_TOKEN}}
strategy:
matrix:
os: [ubuntu-latest]
node: [18]
steps:
- name: Checkout 🛎
uses: actions/checkout@master
- uses: pnpm/action-setup@v2
with:
version: 7.12.2
- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
- name: Install dependencies 👨🏻‍💻
run: pnpm install --frozen-lockfile
- name: Linting 🔍
run: pnpm run lint
- name: Build production 🚧
run: pnpm run build
- name: Deploy 📡
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
force_orphan: true