Skip to content

Commit ab77245

Browse files
committed
tweak gh pages
1 parent f2a88a6 commit ab77245

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/gh-pages.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ jobs:
7878
- name: Render HTML
7979
run: xml2rfc --html openid-provider-commands-1_0.xml --out html/$BRANCH_NAME.html
8080

81-
- id: deployment
82-
name: Deploy to GitHub Pages
83-
if: success()
84-
uses: crazy-max/ghaction-github-pages@v2
81+
- name: Setup Pages
82+
uses: actions/configure-pages@v5
83+
84+
- name: Upload artifact
85+
uses: actions/upload-pages-artifact@v3
8586
with:
86-
target_branch: gh-pages
87-
build_dir: html
88-
keep_history: true
87+
# Upload entire repository
88+
path: 'html'
8989
env:
9090
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)