Skip to content

Commit

Permalink
Updated chirpy.
Browse files Browse the repository at this point in the history
  • Loading branch information
create3000 committed May 15, 2024
1 parent 7ee8cef commit f91c5ae
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
branches:
- main
- master
paths:
- docs/**
paths-ignore:
- .gitignore
- README.md
Expand Down Expand Up @@ -46,20 +48,14 @@ jobs:
bundler-cache: true

- name: Build site
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
run: cd ./docs && 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 \
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
- name: Upload site artifact
uses: actions/upload-pages-artifact@v3
with:
path: "_site${{ steps.pages.outputs.base_path }}"
path: "./docs/_site${{ steps.pages.outputs.base_path }}"

deploy:
environment:
Expand Down

0 comments on commit f91c5ae

Please sign in to comment.