Skip to content

Commit bd22e2a

Browse files
committed
Replace manual ruby/jekyll with action
1 parent 5b9b77d commit bd22e2a

1 file changed

Lines changed: 6 additions & 14 deletions

File tree

.github/workflows/docsygen.yml

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

28-
- name: Setup Ruby
29-
uses: ruby/setup-ruby@v1
30-
with:
31-
ruby-version: '3.1'
32-
bundler-cache: true
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v6
3328

34-
- name: Build Jekyll site
35-
env:
36-
JEKYLL_GITHUB_TOKEN: ${{ secrets.GIELLALT_DOCS_GH_TOKEN }}
37-
run: |
38-
bundle exec jekyll build
29+
- name: Build with Jekyll
30+
uses: actions/jekyll-build-pages@v1
31+
with:
32+
token: ${{ secrets.GIELLALT_DOCS_GH_TOKEN }}
3933

4034
- name: Upload artifact
4135
uses: actions/upload-pages-artifact@v5
42-
with:
43-
path: _site
4436

4537
- name: Deploy to GitHub Pages
4638
id: deploy

0 commit comments

Comments
 (0)