Skip to content

Commit

Permalink
Test single branch (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianzchen authored Mar 27, 2024
1 parent f832b4d commit ecf0d8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 37 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
Expand Down Expand Up @@ -37,7 +39,9 @@ jobs:
- run: pnpm website:build

- name: Install Surge
if: github.ref == 'refs/heads/master'
run: npm install -g surge

- name: Deploy to Surge
if: github.ref == 'refs/heads/master'
run: surge ./website https://bzc-ui.surge.sh/ --token ${{secrets.SURGE}}
37 changes: 0 additions & 37 deletions .github/workflows/pull-request.yml

This file was deleted.

0 comments on commit ecf0d8d

Please sign in to comment.