Skip to content

Commit

Permalink
[CI] Change preview.yml to validate.yml (#149)
Browse files Browse the repository at this point in the history
This change converts the "Preview" job into a "Validate" job. It still
runs for every PR, but it does not deploy to the gh-pages branch.

Fixes #148
  • Loading branch information
dmcardle authored Jul 31, 2024
1 parent 11c6711 commit b87549a
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
name: Preview
name: Validate
on:
pull_request:
paths: ["**.bs"]
jobs:
preview:
name: Preview
main:
name: Validate Spec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pythagoraskitty/[email protected]
with:
TOOLCHAIN: bikeshed
DESTINATION: pr-preview/${{ github.ref }}/index.html
SOURCE: spec.bs
GH_PAGES_BRANCH: gh-pages
BUILD_FAIL_ON: warning

0 comments on commit b87549a

Please sign in to comment.