Skip to content

Commit

Permalink
Accommodate rapid website development on the website branch (#287)
Browse files Browse the repository at this point in the history
By (a) deploying from that branch and (b) temporarily disabling external link
checking.
  • Loading branch information
rickie authored Oct 11, 2022
1 parent 757d5b1 commit 3f1399c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy-website.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 3f1399c

Please sign in to comment.