Skip to content

Commit 2fe07d5

Browse files
authored
Upgrades upload-pages-artifact from v2 to v3 (#119)
Fixes failures relating to the deprecation of actions/upload-artifact@v3.
1 parent 1d68c0a commit 2fe07d5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/Documentation.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ jobs:
2020
- name: Build html
2121
run: bin/gradle dokkaHtml --no-daemon --stacktrace
2222
- name: Upload GitHub Pages artifact
23-
uses: actions/upload-pages-artifact@v2
23+
uses: actions/upload-pages-artifact@v3
2424
with:
2525
path: lib/build/dokka/html
2626
# Publish job
2727
publish-documentation:
28+
environment:
29+
name: github-pages
30+
url: ${{ steps.deployment.outputs.page_url }}
2831
needs: build-documentation
2932
runs-on: ubuntu-latest
3033
steps:
3134
- name: Deploy GitHub Pages site
32-
uses: actions/deploy-pages@v3
35+
id: deployment
36+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)