Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run on GH #4

Merged
merged 3 commits into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate

on:
pull_request:
branches: ["main"]

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: HTML5Validator
uses: Cyb3r-Jak3/html5validator-action@41633d488eb36e18fd1a95ffc83daf1bf22a75bd #v7.2.0
with:
config: ./website/.html5validator.yaml
root: website/
9 changes: 9 additions & 0 deletions .github/workflows/website_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: HTML5Validator
uses: Cyb3r-Jak3/html5validator-action@41633d488eb36e18fd1a95ffc83daf1bf22a75bd #v7.2.0
with:
config: ./website/.html5validator.yaml
root: website/

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './website'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

9 changes: 9 additions & 0 deletions website/.html5validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root: .
errors_only: True
log: DEBUG
# ignore_re:
ignore:
- 'Attribute "webkitallowfullscreen" not allowed'
- 'Attribute "mozallowfullscreen" not allowed'
- 'The "frameborder" attribute on the "iframe" element is obsolete'
- 'No "p" element in scope but a "p" end tag seen'