File tree Expand file tree Collapse file tree 7 files changed +16
-16
lines changed
Expand file tree Collapse file tree 7 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,14 @@ jobs:
3131 runs-on : ubuntu-latest
3232 if : ${{ github.event.workflow_run.conclusion == 'success' }}
3333 steps :
34- - uses : actions/checkout@v4
34+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3535 with :
3636 ref : ' cloudflare-pages'
3737 - name : Cleanup
3838 run : |
3939 rm -rf .git
4040 - name : Cloudflare Deploy
41- uses : cloudflare/wrangler-action@v3
41+ uses : cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3
4242 with :
4343 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
4444 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Original file line number Diff line number Diff line change @@ -53,12 +53,12 @@ jobs:
5353 extended : true
5454
5555 - name : Setup Node
56- uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
56+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
5757 with :
5858 node-version : " 22"
5959
6060 - name : Cache dependencies
61- uses : actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
61+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
6262 with :
6363 path : ~/.npm
6464 key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Original file line number Diff line number Diff line change 7878 with :
7979 hugo-version : " 0.145.0"
8080 extended : true
81- - uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
81+ - uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
8282 with :
8383 node-version : " 22"
8484
@@ -101,7 +101,7 @@ jobs:
101101 working-directory : .hugo
102102
103103 - name : Deploy to cloudflare-pages
104- uses : peaceiris/actions-gh-pages@v4
104+ uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
105105 with :
106106 github_token : ${{ secrets.GITHUB_TOKEN }}
107107 publish_dir : .hugo/public
Original file line number Diff line number Diff line change 4747 extended : true
4848
4949 - name : Setup Node
50- uses : actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
50+ uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
5151 with :
5252 node-version : " 22"
5353
Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ jobs:
3131
3232 steps :
3333 - name : Checkout repository
34- uses : actions/checkout@v4
34+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3535
3636 - name : Set up Python
37- uses : actions/setup-python@v5
37+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
3838 with :
3939 python-version : ' 3.x'
4040
Original file line number Diff line number Diff line change @@ -37,19 +37,19 @@ jobs:
3737 run :
3838 working-directory : .hugo
3939 steps :
40- - uses : actions/checkout@v4
40+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4141 with :
4242 ref : ${{ env.HEAD_SHA }}
4343 fetch-depth : 0
4444
4545 - name : Setup Hugo
46- uses : peaceiris/actions-hugo@v3
46+ uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3
4747 with :
4848 hugo-version : " 0.145.0"
4949 extended : true
5050
5151 - name : Setup Node
52- uses : actions/setup-node@v4
52+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
5353 with :
5454 node-version : " 22"
5555 cache : ' npm'
7272 echo ${{ env.PR_NUMBER }} > ../artifact-payload/pr_number.txt
7373
7474 - name : Upload Artifact
75- uses : actions/upload-artifact@v4
75+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
7676 with :
7777 name : cf-preview-data
7878 path : artifact-payload/
Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ jobs:
4545 cancel-in-progress : true
4646 steps :
4747 - name : Checkout base repository
48- uses : actions/checkout@v4
48+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4949
5050 - name : Download Artifact
51- uses : actions/download-artifact@v4
51+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
5252 with :
5353 name : cf-preview-data
5454 github-token : ${{ secrets.GITHUB_TOKEN }}
7171
7272 - name : Deploy to Cloudflare Pages
7373 id : cf_deploy
74- uses : cloudflare/wrangler-action@v3
74+ uses : cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3
7575 with :
7676 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
7777 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
You can’t perform that action at this time.
0 commit comments