99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v4
12+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1313 with :
1414 submodules : true
1515 - name : Setup Pages
16- uses : actions/configure-pages@v5
16+ uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
1717 - name : Setup Hugo
18- uses : peaceiris/actions-hugo@v3
18+ uses : peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
1919 with :
2020 hugo-version : ' 0.148.1'
2121 extended : true
22- - uses : actions/setup-node@v4
22+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2323 with :
2424 node-version : 22
2525 cache : ' npm'
@@ -38,12 +38,12 @@ jobs:
3838 - name : Add robots.txt for staging
3939 run : ' echo -e "User-agent: *\nDisallow: /" > public/staging/robots.txt'
4040 - name : Upload Prod Pages artifact
41- uses : actions/upload-pages-artifact@v3
41+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4242 with :
4343 name : prod-site
4444 path : ./public/prod
4545 - name : Upload Staging artifacts
46- uses : actions/upload-artifact@v4
46+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4747 with :
4848 name : staging-site
4949 path : ./public/staging
6060 steps :
6161 - name : Deploy to GitHub Pages
6262 id : deployment
63- uses : actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
63+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
6464 with :
6565 artifact_name : prod-site
6666 environment : # Deploy to the github-pages environment
@@ -75,12 +75,12 @@ jobs:
7575 needs : [build]
7676 steps :
7777 - name : Download build
78- uses : actions/download-artifact@v4
78+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
7979 with :
8080 name : staging-site
8181 path : ./public
8282 - name : Deploy to Staging Repository
83- uses : peaceiris/actions-gh-pages@v3
83+ uses : peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
8484 with :
8585 personal_token : ${{ secrets.CRYPTOBOT_DEPLOY_STAGING_WEBSITE }}
8686 external_repository : cryptomator/staging.cryptomator.github.io
0 commit comments