-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accommodate rapid website development on the
website
branch (#287)
By (a) deploying from that branch and (b) temporarily disabling external link checking.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Update `error-prone.picnic.tech` website content | |
on: | ||
pull_request: | ||
push: | ||
branches: [ master ] | ||
branches: [ master, website ] | ||
permissions: | ||
contents: read | ||
id-token: write | ||
|
@@ -29,13 +29,15 @@ jobs: | |
run: bundle exec jekyll build | ||
- name: Validate HTML output | ||
working-directory: ./website | ||
run: bundle exec htmlproofer --check-external-hash false ./_site | ||
# XXX: Drop `--disable_external true` once we fully adopted the | ||
# "Refaster rules" terminology on our website and in the code. | ||
run: bundle exec htmlproofer --disable_external true --check-external-hash false ./_site | ||
- name: Upload website as artifact | ||
uses: actions/[email protected] | ||
with: | ||
path: ./website/_site | ||
deploy: | ||
if: github.ref == 'refs/heads/master' | ||
if: github.ref == 'refs/heads/website' | ||
needs: build | ||
runs-on: ubuntu-22.04 | ||
environment: | ||
|