Skip to content

Commit

Permalink
Update jekyll-gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu authored Jun 25, 2024
1 parent 5f41b39 commit 187d555
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python 3.10
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Use Node.js 16.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Localize
Expand All @@ -46,15 +46,15 @@ jobs:
npm run build-prod
cd ..
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./hk-split-maker/dist
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v4
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}

# Deployment job
Expand All @@ -67,5 +67,5 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}

0 comments on commit 187d555

Please sign in to comment.