diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d9249a5..0323d52 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2 bundler-cache: true - name: build run: script/bootstrap diff --git a/.github/workflows/publish-gem.yml b/.github/workflows/publish-gem.yml new file mode 100644 index 0000000..2e939a0 --- /dev/null +++ b/.github/workflows/publish-gem.yml @@ -0,0 +1,22 @@ +name: Publish Gem + +on: + release: + types: [released] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.2' + - name: Build gem + run: | + gem build github-pages.gemspec + - name: Publish + run: | + gem push github-pages.gem --key ${{ secrets.PAGES_GEM_PUBLISH }} diff --git a/_layouts/default.html b/_layouts/default.html index 19ea70c..1387b17 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,8 +6,8 @@ - - + + @@ -28,14 +28,14 @@
- - +
+

{{ site.title | default: site.github.repository_name }}

{{ site.description | default: site.github.project_tagline }}

- +
- +
{% if site.show_downloads %} diff --git a/_sass/jekyll-theme-merlot.scss b/_sass/jekyll-theme-merlot.scss index f1d3cea..3d362b9 100644 --- a/_sass/jekyll-theme-merlot.scss +++ b/_sass/jekyll-theme-merlot.scss @@ -1,4 +1,3 @@ @import "screen"; @import "rouge-base16-solarized"; -@import url("non-screen.css") handheld; -@import url("non-screen.css") only screen and (max-device-width:640px); +@import url("non-screen.css") only screen and (max-width:640px); diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 2e8d1f6..86a97bf 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -77,6 +77,9 @@ At a high level, [the process for proposing changes](https://guides.github.com/i `script/cibuild` +## Publishing Gem +In order to publish the Gem bump the version in *this file*, commit, create a tag with the new version number, and finally push the commit and tag to the repo. + ## Code of conduct This project is governed by [the Contributor Covenant Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. diff --git a/script/validate-html b/script/validate-html index 43d8fca..8f51642 100755 --- a/script/validate-html +++ b/script/validate-html @@ -20,7 +20,7 @@ def validate(file) return puts "Valid!" if results.errors.empty? - results.errors.each { |err| puts err.to_s } + results.errors.each { |err| puts err } exit 1 end