Skip to content

Deploy Surge Websites #1

Deploy Surge Websites

Deploy Surge Websites #1

Workflow file for this run

name: Deploy Surge Websites
on: [release, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
name: Install assets
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2-beta
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Install Surge
run: npm install --global surge
deploy-betting-template:
name: Deploy Betting Template
needs: build
runs-on: ubuntu-latest
steps:
- name: Run Surge
run: surge ./docs/betting-template/build practice-landings-betting-template.surge.sh --token ${{ secrets.SURGE_TOKEN }}
deploy-headphones:
name: Deploy Head{hones
needs: build
runs-on: ubuntu-latest
steps:
- name: Run Surge
run: surge ./docs/headphones/build practice-landings-headphones.surge.sh --token ${{ secrets.SURGE_TOKEN }}