Unverified Commit 838b0f36 authored by Matt Schatz's avatar Matt Schatz

Limit the CI workflows.

- Only run deploy-site in the main repo.
- Also run the pr-checks after a push to any fork.
parent f4bc4679
......@@ -3,6 +3,7 @@ on:
- push
jobs:
build:
if: github.repository == 'inspircd/inspircd-docs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
......
name: Pull request checks
on:
- pull_request
- push
jobs:
build:
if: (github.repository == 'inspircd/inspircd-docs' && github.event_name == 'pull_request') || (github.repository != 'inspircd/inspircd-docs' && github.event_name == 'push')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment