Skip to content

Commit 21bb731

Browse files
committed
Revert "Replace manual ruby/jekyll with action"
This reverts commit bd22e2a.
1 parent b6654e0 commit 21bb731

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/docsygen.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,25 @@ jobs:
2222
url: ${{ steps.deploy.outputs.page_url }}
2323
steps:
2424
- uses: actions/checkout@v6
25+
with:
26+
repository: giellalt/giellalt.github.io
2527

26-
- name: Setup Pages
27-
uses: actions/configure-pages@v6
28-
29-
- name: Build with Jekyll
30-
uses: actions/jekyll-build-pages@v1
28+
- name: Setup Ruby
29+
uses: ruby/setup-ruby@v1
3130
with:
32-
token: ${{ secrets.GIELLALT_DOCS_GH_TOKEN }}
31+
ruby-version: '3.1'
32+
bundler-cache: true
33+
34+
- name: Build Jekyll site
35+
env:
36+
JEKYLL_GITHUB_TOKEN: ${{ secrets.GIELLALT_DOCS_GH_TOKEN }}
37+
run: |
38+
bundle exec jekyll build
3339
3440
- name: Upload artifact
3541
uses: actions/upload-pages-artifact@v5
42+
with:
43+
path: _site
3644

3745
- name: Deploy to GitHub Pages
3846
id: deploy

0 commit comments

Comments
 (0)