Skip to content

use surge

use surge #19

Workflow file for this run

name: build
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 18.15.0
cache: 'pnpm'
- name: install and build
run: |
pnpm install --prod
pnpm run build
- name: deploy
with:
env:
SURGE_LOGIN: ${{ secrets.SURGE_LOGIN }}

Check failure on line 25 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 25, Col: 13): A mapping was not expected .github/workflows/build.yml (Line: 27, Col: 9): Unexpected value 'run'
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
run: |
pnpm install -g surge
surge ./dist/ sfn.surge.sh