Skip to content

Commit 5b2b13a

Browse files
committed
Update API docs publish too
1 parent fd6e100 commit 5b2b13a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/website.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
website:
2323
if: ${{ inputs.publish_website || github.ref_name }}
2424
permissions:
25-
contents: write # for git push (s0/git-publish-subdir-action)
25+
contents: write
2626
name: Publish Website
2727
runs-on: ubuntu-latest
2828
steps:
@@ -56,7 +56,7 @@ jobs:
5656
needs: website
5757
if: ${{ inputs.publish_version || github.ref_name }}
5858
permissions:
59-
contents: write # for git push (s0/git-publish-subdir-action)
59+
contents: write
6060
name: Publish API Docs
6161
runs-on: ubuntu-latest
6262
steps:
@@ -84,9 +84,7 @@ jobs:
8484
bundle exec rake site:commit_changes
8585
git status
8686
- name: Deploy to GitHub pages via gh-pages branch
87-
uses: s0/git-publish-subdir-action@master
88-
env:
89-
REPO: [email protected]:rmosolgo/graphql-ruby.git
90-
BRANCH: gh-pages
91-
FOLDER: gh-pages
92-
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
87+
uses: peaceiris/actions-gh-pages@v4
88+
with:
89+
github_token: ${{ secrets.GITHUB_TOKEN }}
90+
publish_dir: ./gh-pages

0 commit comments

Comments
 (0)