Skip to content

Commit 16f6a57

Browse files
committed
Updated workflows
1 parent 4b06c9b commit 16f6a57

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
33

44
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["master"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
5+
release:
6+
types: [created]
107
workflow_dispatch:
118

129
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -26,19 +23,19 @@ jobs:
2623
runs-on: ubuntu-24.04
2724
steps:
2825
- name: Checkout
29-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4.2.2
3027

3128
- name: Setup Pages
32-
uses: actions/configure-pages@v2
29+
uses: actions/configure-pages@v5
3330

3431
- name: Build with Jekyll
35-
uses: actions/jekyll-build-pages@v1
32+
uses: actions/jekyll-build-pages@v1.0.13
3633
with:
3734
source: ./
3835
destination: ./_site
3936

4037
- name: Upload artifact
41-
uses: actions/upload-pages-artifact@v1
38+
uses: actions/upload-pages-artifact@v3.0.1
4239

4340
# Deployment job
4441
deploy:
@@ -50,4 +47,4 @@ jobs:
5047
steps:
5148
- name: Deploy to GitHub Pages
5249
id: deployment
53-
uses: actions/deploy-pages@v1
50+
uses: actions/deploy-pages@v4.0.5

.github/workflows/static.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,17 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4.2.2
33+
3334
- name: Setup Pages
34-
uses: actions/configure-pages@v2
35+
uses: actions/configure-pages@v5
36+
3537
- name: Upload artifact
36-
uses: actions/upload-pages-artifact@v1
38+
uses: actions/upload-pages-artifact@v3.0.1
3739
with:
3840
# Upload entire repository
3941
path: '.'
42+
4043
- name: Deploy to GitHub Pages
4144
id: deployment
42-
uses: actions/deploy-pages@v1
45+
uses: actions/deploy-pages@v4.0.5

0 commit comments

Comments
 (0)