modified: .github/workflows/jekyll-gh-pages.yml
This commit is contained in:
parent
2f54bfbf26
commit
4a487ef972
16
.github/workflows/jekyll-gh-pages.yml
vendored
16
.github/workflows/jekyll-gh-pages.yml
vendored
@ -30,14 +30,16 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Rename "theme no-style-please" -> "remote_theme no-style-please"
|
||||
run: |
|
||||
sed -i 's/theme:/remote_theme:/g' ./docs/_config.yml
|
||||
- name: Build with Jekyll
|
||||
uses: actions/jekyll-build-pages@v1
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
source: ./docs/
|
||||
destination: ./_site
|
||||
ruby-version: 2.7
|
||||
- name: Build with Jekyll
|
||||
run: |
|
||||
cd docs
|
||||
bundle install
|
||||
bundle exec jekyll build
|
||||
mv _site ../
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user