Skip to content

Commit

Permalink
Add paths and defaults to deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
socketopp committed Aug 17, 2023
1 parent 46427df commit 2e520e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
name: Deploy to GitHub Pages

on:
workflow_dispatch:
push:
branches:
- master
paths:
- '/socketopp.github.io'
- '.github/workflows/deploy.yml'
defaults:
run:
working-directory: './socketopp.github.io'

jobs:
build_site:
Expand Down

0 comments on commit 2e520e0

Please sign in to comment.