File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This workflow uses actions that are not certified by GitHub.
2- # They are provided by a third-party and are governed by
3- # separate terms of service, privacy policy, and support
4- # documentation.
5-
61# Sample workflow for building and deploying a Jekyll site to GitHub Pages
72name : Deploy Jekyll site to Pages
83
3530 working-directory : docs
3631 steps :
3732 - name : Checkout
38- uses : actions/checkout@v3
33+ uses : actions/checkout@v4
3934 - name : Setup Ruby
4035 uses : ruby/setup-ruby@v1
4136 with :
4540 working-directory : ' ${{ github.workspace }}/docs'
4641 - name : Setup Pages
4742 id : pages
48- uses : actions/configure-pages@v3
43+ uses : actions/configure-pages@v5
4944 - name : Run Dokka
5045 run : ./gradlew dokkaGenerate
5146 working-directory : ' ${{ github.workspace }}'
@@ -58,10 +53,11 @@ jobs:
5853 env :
5954 JEKYLL_ENV : production
6055 - name : Upload artifact
61- # Automatically uploads an artifact from the './_site' directory by default
62- uses : actions/upload-pages-artifact@v1
56+ uses : actions/upload-artifact@v4
6357 with :
64- path : " docs/_site/"
58+ name : github-pages
59+ path : ./docs/_site
60+ retention-days : 1
6561
6662 # Deployment job
6763 deploy :
7369 steps :
7470 - name : Deploy to GitHub Pages
7571 id : deployment
76- uses : actions/deploy-pages@v2
72+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments