Skip to content

Commit

Permalink
Merge pull request #301 from elichad/new-website-2
Browse files Browse the repository at this point in the history
Migrate to new website
  • Loading branch information
stain authored Jun 5, 2024
2 parents c45b6b4 + 006b53e commit c9ead45
Show file tree
Hide file tree
Showing 206 changed files with 34,768 additions and 2,755 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "Build and Lint Site"

on:
push:
branches: [ "main"]
pull_request:
branches: [ "main" ]

jobs:
build-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

# dependencies
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0"
- uses: actions/setup-node@v4
with:
node-version: '19'
- name: Install dependencies
working-directory: ./docs
run: |
sudo apt-get install -y build-essential zlib1g-dev
gem install bundler
bundle config path vendor/bundle
bundle install
- name: Build the site
working-directory: ./docs
run: bundle exec jekyll build --strict_front_matter

- name: Validate all links, enforce alt text
working-directory: ./docs
run: |
bundle exec htmlproofer \
--ignore-files "/.*\/ro-crate-preview\.html/","/.*\/examples\/.*\/index\.html/" \
--disable-external true \
--enforce-https false \
./_site
- name: Ensure no unexpected encoded HTML in output
working-directory: ./docs
run: |
! fgrep -R 'lt;blockquote' _site
- name: Ensure no unexpected jekyll in output
working-directory: ./docs
run: |
! fgrep -R 'site.pages' _site
1 change: 0 additions & 1 deletion docs/1.1/ro-crate-metadata.jsonld

This file was deleted.

1 change: 1 addition & 0 deletions docs/1.1/ro-crate-metadata.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ro-crate-metadata.json
1 change: 0 additions & 1 deletion docs/1.2-DRAFT/ro-crate-metadata.jsonld

This file was deleted.

Loading

0 comments on commit c9ead45

Please sign in to comment.