File tree Expand file tree Collapse file tree 1 file changed +0
-77
lines changed
Expand file tree Collapse file tree 1 file changed +0
-77
lines changed Original file line number Diff line number Diff line change 3737 build :
3838 runs-on : ubuntu-latest
3939 steps :
40- - name : Checkout
41- uses : actions/checkout@v4
42- - name : Setup Ruby
43- uses : ruby/setup-ruby@v1
44- with :
45- ruby-version : ' 3.1'
46- bundler-cache : true
47- - name : Setup Pages
48- id : pages
49- uses : actions/configure-pages@v4
50- - name : Build with Jekyll
51- run : |
52- bundle install
53- bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
54- env :
55- JEKYLL_ENV : production
56- - name : Upload artifact
57- uses : actions/upload-pages-artifact@v2
58-
59- deploy :
60- environment :
61- name : github-pages
62- url : ${{ steps.deployment.outputs.page_url }}
63- runs-on : ubuntu-latest
64- needs : build
65- steps :
66- - name : Deploy to GitHub Pages
67- id : deployment
68- uses : actions/deploy-pages@v3name: Deploy Jekyll site to Pages
69-
70- on :
71- push :
72- branches : ["main", "master"]
73- workflow_dispatch :
74-
75- permissions :
76- contents : read
77- pages : write
78- id-token : write
79-
80- concurrency :
81- group : " pages"
82- cancel-in-progress : false
83-
84- jobs :
85- build :
86- runs-on : ubuntu-latest
87- steps :
88- - name : Checkout
89- uses : actions/checkout@v4
90- - name : Setup Ruby
91- uses : ruby/setup-ruby@v1
92- with :
93- ruby-version : ' 3.1'
94- bundler-cache : true
95- - name : Setup Pages
96- id : pages
97- uses : actions/configure-pages@v4
98- - name : Build with Jekyll
99- run : |
100- bundle install
101- bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
102- env :
103- JEKYLL_ENV : production
104- - name : Upload artifact
105- uses : actions/upload-pages-artifact@v2
106-
107- deploy :
108- environment :
109- name : github-pages
110- url : ${{ steps.deployment.outputs.page_url }}
111- runs-on : ubuntu-latest
112- needs : build
113- steps :
114- - name : Deploy to GitHub Pages
115- id : deployment
116- uses : actions/deploy-pages@v3
11740 - name : Checkout
11841 uses : actions/checkout@v4
11942 - name : Setup Ruby
You can’t perform that action at this time.
0 commit comments