@@ -25,63 +25,34 @@ concurrency:
25
25
group : " pages"
26
26
cancel-in-progress : false
27
27
28
- # jobs:
29
- # jekyll:
30
- # runs-on: ubuntu-latest
31
- # steps:
32
- # - name: 📂 Checkout
33
- # uses: actions/checkout@v4
34
-
35
- # # include the lines below if you are using jekyll-last-modified-at
36
- # # or if you would otherwise need to fetch the full commit history
37
- # # however this may be very slow for large repositories!
38
- # # with:
39
- # # fetch-depth: '0'
40
- # - name: 💎 Setup Ruby
41
- # uses: ruby/setup-ruby@v1
42
- # with:
43
- # ruby-version: '3.3'
44
- # bundler-cache: true
45
-
46
- # - name: 🔨 Install dependencies & build site
47
- # uses: limjh16/jekyll-action-ts@v2
48
- # with:
49
- # enable_cache: true
50
-
51
- # - name: 🚀 Deploy
52
- # uses: peaceiris/actions-gh-pages@v4
53
- # with:
54
- # github_token: ${{ secrets.GITHUB_TOKEN }}
55
- # publish_dir: ./_site
56
- # # if the repo you are deploying to is <username>.github.io, uncomment the line below.
57
- # # if you are including the line below, make sure your source files are NOT in the "main" branch:
58
- # # publish_branch: main
59
-
60
28
jobs :
61
- # Build job
62
- build :
29
+ jekyll :
63
30
runs-on : ubuntu-latest
64
31
steps :
65
- - name : Checkout
32
+ - name : 📂 Checkout
66
33
uses : actions/checkout@v4
67
- - name : Setup Pages
68
- uses : actions/configure-pages@v5
69
- - name : Build with Jekyll
70
- uses : actions/jekyll-build-pages@v1
34
+
35
+ # include the lines below if you are using jekyll-last-modified-at
36
+ # or if you would otherwise need to fetch the full commit history
37
+ # however this may be very slow for large repositories!
38
+ # with:
39
+ # fetch-depth: '0'
40
+ - name : 💎 Setup Ruby
41
+ uses : ruby/setup-ruby@v1
71
42
with :
72
- source : ./
73
- destination : ./_site
74
- - name : Upload artifact
75
- uses : actions/upload-pages-artifact@v3
43
+ ruby-version : ' 3.3'
44
+ bundler-cache : true
76
45
77
- # Deployment job
78
- deploy :
79
- environment :
80
- name : github-pages
81
- url : ${{ steps.deployment.outputs.page_url }}
82
- runs-on : ubuntu-latest
83
- needs : build
84
- steps :
85
- - name : Deploy to GitHub Pages
86
- id : deployment
87
- uses : actions/deploy-pages@v4
46
+ - name : 🔨 Install dependencies & build site
47
+ uses : limjh16/jekyll-action-ts@v2
48
+ with :
49
+ enable_cache : true
50
+
51
+ - name : 🚀 Deploy
52
+ uses : peaceiris/actions-gh-pages@v4
53
+ with :
54
+ github_token : ${{ secrets.GITHUB_TOKEN }}
55
+ publish_dir : ./_site
56
+ # if the repo you are deploying to is <username>.github.io, uncomment the line below.
57
+ # if you are including the line below, make sure your source files are NOT in the "main" branch:
58
+ # publish_branch: main
0 commit comments