Skip to content

Commit ea95f72

Browse files
author
Alessandro Toppi
committed
WIP
1 parent 51a2940 commit ea95f72

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

.github/workflows/janode-docs.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,14 @@ jobs:
2626
run: |
2727
mkdir -p site/docs/$REF_NAME
2828
cp -a docs/. site/docs/$REF_NAME
29-
- name: Update "latest" link for tagged versions
29+
- name: Update "latest" docs for tagged versions
3030
#if: startsWith(github.ref, 'refs/tags/v')
3131
run: |
3232
cp -a docs/. site/docs/latest
33-
- name: Setup Pages
34-
uses: actions/configure-pages@v5
35-
- name: Upload artifact for ${{ github.ref_name }}
36-
uses: actions/upload-pages-artifact@v3
37-
with:
38-
path: './site/docs/${{ github.ref_name }}'
39-
- name: Upload artifact for "latest"
40-
#if: startsWith(github.ref, 'refs/tags/v')
41-
uses: actions/upload-pages-artifact@v3
42-
with:
43-
path: './site/docs/latest'
4433
- name: Deploy to GitHub Pages
45-
id: deployment
46-
uses: actions/deploy-pages@v4
34+
uses: peaceiris/actions-gh-pages@v4
35+
with:
36+
github_token: ${{ secrets.GITHUB_TOKEN }}
37+
publish_dir: ./site
38+
keep_files: true
4739

0 commit comments

Comments
 (0)