-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #681 from DIVD-NL/faster-validation
Using HTML5validator action
- Loading branch information
Showing
3 changed files
with
25 additions
and
4 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 |
---|---|---|
|
@@ -25,8 +25,10 @@ jobs: | |
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.7' | ||
# - name: install prerequisites | ||
# run: pip3 install html5validator requests && gem install --no-document html-proofer | ||
- name: install prerequisites | ||
run: pip3 install html5validator requests && gem install --no-document html-proofer | ||
run: pip3 install requests | ||
- name: Update external content | ||
run: ./update.sh | ||
- name: Clean up stubs | ||
|
@@ -35,8 +37,18 @@ jobs: | |
run: bundle exec jekyll build --future 2>&1 | tee jekyll-build.log | ||
- name: "Fix security.txt" | ||
run: mkdir _site/.well-known && (cd _site/.well-known && ln -s ../security.txt) && ls -al _site/.well-known | ||
# - name: Test HTML code | ||
# run: ./proof_html.sh | ||
- name: Test HTML code | ||
run: ./proof_html.sh | ||
uses: Cyb3r-Jak3/[email protected] | ||
with: | ||
root: _site/ | ||
- name: Upload HTML test report | ||
uses: actions/upload-artifact@v3 | ||
if: success() || failure() # Run even if we had an error | ||
with: | ||
name: html5validator_log | ||
path: log.log | ||
- name: rsync deploy | ||
uses: burnett01/[email protected] | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
|
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
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