Skip to content

We've stopped paying for aqi.tw #84

We've stopped paying for aqi.tw

We've stopped paying for aqi.tw #84

Workflow file for this run

name: Deploy
on:
push:
branches:
- source
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
"build":
# This comes with
# - Vercel CLI
# - Make
# - Node 18
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
ssh-key: ${{ secrets.SSH_KEY }}
ssh-known-hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Create Vercel config
# This uses Node
run: |
make vercel.json
- name: Build and deploy
env:
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
# GitHub preinstalls it.
run: |
vercel pull --yes --environment production --token ${{ secrets.VERCEL_TOKEN }}
vercel build --prod --token ${{ secrets.VERCEL_TOKEN }}
vercel deploy --prebuilt --prod --token ${{ secrets.VERCEL_TOKEN }}