Skip to content

Commit ea38232

Browse files
authored
Update pages-deploy.yml
1 parent cf9df17 commit ea38232

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Diff for: .github/workflows/pages-deploy.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ on:
1010
- README.md
1111
- LICENSE
1212

13-
# Allows you to run this workflow manually from the Actions tab
1413
workflow_dispatch:
1514

1615
permissions:
1716
contents: read
1817
pages: write
1918
id-token: write
2019

21-
# Allow one concurrent deployment
2220
concurrency:
2321
group: "pages"
2422
cancel-in-progress: true
@@ -32,9 +30,6 @@ jobs:
3230
uses: actions/checkout@v3
3331
with:
3432
fetch-depth: 0
35-
# submodules: true
36-
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
37-
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
3833

3934
- name: Setup Pages
4035
id: pages
@@ -43,7 +38,7 @@ jobs:
4338
- name: Setup Ruby
4439
uses: ruby/setup-ruby@v1
4540
with:
46-
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
41+
ruby-version: 3
4742
bundler-cache: true
4843

4944
- name: Build site
@@ -56,8 +51,9 @@ jobs:
5651
bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href
5752
5853
- name: Upload site artifact
59-
uses: actions/upload-pages-artifact@v1
54+
uses: actions/upload-artifact@v4
6055
with:
56+
name: site-artifact
6157
path: "_site${{ steps.pages.outputs.base_path }}"
6258

6359
deploy:

0 commit comments

Comments
 (0)