Skip to content

Surge Upload

Surge Upload #4

Workflow file for this run

name: Surge Upload
on:
workflow_dispatch:
jobs:
release:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Date
run: date > ./docs/date.html
- name: Surge Upload
run: npx surge ./docs
env:
SURGE_LOGIN: "${{ secrets.SURGE_LOGIN }}"
SURGE_TOKEN: "${{ secrets.SURGE_TOKEN }}"