Skip to content

Commit fb93fc5

Browse files
authored
Update build.yml
1 parent 865537f commit fb93fc5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ jobs:
1717
with:
1818
ruby-version: 3.1.2 # 确保选择与您的项目兼容的Ruby版本
1919

20-
- name: Install correct Bundler version
20+
- name: Install Bundle
2121
run: |
2222
gem update --system 3.3.22
2323
gem install jekyll bundle
24-
24+
bundle update #官网上写的,折腾了半天才发现
2525
2626
- name: Install dependencies
2727
run: |
28-
bundle update #官网上写的,折腾了半天
28+
2929
bundle install
3030
3131
- name: Build the site
3232
run: bundle exec jekyll build
3333

3434
- name: Archive production artifacts
35-
uses: actions/upload-artifact@v4
36-
with:
37-
name: GTFOBins # 构件的名称
38-
path: _site/ # 要包含在构件中的路径,这里是Jekyll生成的站点目录
39-
retention-days: 5 # 可选:设置构件保留天数,默认90天
35+
uses: actions/upload-artifact@v4
36+
with:
37+
name: GTFOBins # 构件的名称
38+
path: _site/ # 要包含在构件中的路径,这里是Jekyll生成的站点目录
39+
retention-days: 5 # 可选:设置构件保留天数,默认90天

0 commit comments

Comments
 (0)