generated from cotes2020/chirpy-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
192 changed files
with
6,172 additions
and
181 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 |
---|---|---|
@@ -1,43 +1,44 @@ | ||
name: "Test Build" | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!main' | ||
pull_request: | ||
branches: ["*"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
# submodules: true | ||
# If using the 'assets' git submodule from Chirpy Starter, uncomment above | ||
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets) | ||
|
||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted | ||
bundler-cache: true | ||
|
||
- name: Build site | ||
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: "production" | ||
|
||
- name: Test site | ||
run: | | ||
bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href | ||
name: "Test Build" | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
pull_request: | ||
branches: ["*"] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
# submodules: true | ||
# If using the 'assets' git submodule from Chirpy Starter, uncomment above | ||
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets) | ||
|
||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v3 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2 | ||
bundler-cache: true | ||
|
||
- name: Build site | ||
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: "production" | ||
|
||
- name: Test site | ||
run: | | ||
bundle exec htmlproofer _site \ | ||
\-\-disable-external=true \ | ||
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# hidden files | ||
.* | ||
!.git* | ||
!.editorconfig | ||
!.nojekyll | ||
!.travis.yml | ||
!.husky | ||
!.commitlintrc.json | ||
!.versionrc.json | ||
# Bundler cache | ||
.bundle | ||
vendor | ||
Gemfile.lock | ||
|
||
# bundler cache | ||
# Jekyll cache | ||
.jekyll-cache | ||
_site | ||
vendor | ||
|
||
# rubygem | ||
# RubyGems | ||
*.gem | ||
|
||
# npm dependencies | ||
# NPM dependencies | ||
node_modules | ||
package-lock.json | ||
|
||
# IDE configurations | ||
.idea | ||
.vscode | ||
|
||
# Misc | ||
assets/js/dist |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "assets/lib"] | ||
path = assets/lib | ||
url = https://github.com/cotes2020/chirpy-static-assets.git |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# Chirpy Starter [![Gem Version](https://img.shields.io/gem/v/jekyll-theme-chirpy)](https://rubygems.org/gems/jekyll-theme-chirpy) [![GitHub license](https://img.shields.io/github/license/cotes2020/chirpy-starter.svg?color=blue)][mit] | ||
# Chirpy Starter | ||
[chirpy]: https://github.com/cotes2020/jekyll-theme-chirpy/ | ||
[use-template]: https://github.com/cotes2020/chirpy-starter/generate | ||
[CD]: https://en.wikipedia.org/wiki/Continuous_deployment | ||
[mit]: https://github.com/cotes2020/chirpy-starter/blob/master/LICENSE |
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
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
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
Oops, something went wrong.