Skip to content

Commit

Permalink
Build PRs separately
Browse files Browse the repository at this point in the history
  • Loading branch information
wolverian committed Dec 7, 2021
1 parent 63d002d commit df6bd34
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: GitHub Pages
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build PR

on:
pull_request:
branches: [main]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
- uses: cachix/cachix-action@v10
with:
name: agda-template
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build HTML
run: nix build --verbose --print-build-logs

0 comments on commit df6bd34

Please sign in to comment.