Skip to content

Commit 0cd6634

Browse files
authored
Update deploy-gh-pages.yml
1 parent e444960 commit 0cd6634

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/deploy-gh-pages.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,12 @@ jobs:
3434
fi
3535
env:
3636
REPO_NAME: ${{ github.repository }}
37-
- name: Setup Ruby
38-
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
39-
with:
40-
ruby-version: '3.1'
41-
bundler-cache: true
42-
cache-version: 0
4337
- name: Setup Pages
44-
id: pages
4538
uses: actions/configure-pages@v5
4639
- name: Build with Jekyll
47-
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48-
env:
49-
JEKYLL_ENV: production
40+
uses: actions/jekyll-build-pages@v1.0.13
5041
- name: Upload artifact
51-
uses: actions/upload-pages-artifact@v3
42+
uses: actions/upload-pages-artifact@v3.0.1
5243

5344
# Deployment job
5445
deploy:
@@ -60,4 +51,4 @@ jobs:
6051
steps:
6152
- name: Deploy to GitHub Pages
6253
id: deployment
63-
uses: actions/deploy-pages@v4
54+
uses: actions/deploy-pages@v4.0.5

0 commit comments

Comments
 (0)