Skip to content

Commit

Permalink
add in deleted stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mingness committed May 29, 2024
1 parent f4dabbb commit 306fe6d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy-pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Deploy PR CI
on:
issue_comment:
types: [created]
push:
branches-ignore:
- main
pull_request:
types:
- opened
Expand All @@ -10,6 +15,7 @@ jobs:
release:
name: Deploy website
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && (contains(github.event.comment.body, 'Deploy') || contains(github.event.comment.body, 'deploy') || github.event_name == 'push' || github.event_name == 'pull_request')"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,4 +33,4 @@ jobs:
- name: Install surge
run: npm install -g surge
- name: Deploy
run: surge _site/ ${{ vars.SURGE_PREFIX }}-${{ GITHUB_HEAD_REF }}.${{ vars.SURGE_DOMAIN }} --token ${{ secrets.SURGE_TOKEN }}
run: surge _site/ ${{ vars.SURGE_PREFIX }}.${{ vars.SURGE_DOMAIN }} --token ${{ secrets.SURGE_TOKEN }}

0 comments on commit 306fe6d

Please sign in to comment.