Skip to content

Commit fd6e100

Browse files
committed
Try a different gh action
1 parent 872de91 commit fd6e100

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/website.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ jobs:
4848
git config --global user.email "$(git log --format="%aE" -n 1)"
4949
bundle exec rake site:commit_changes
5050
- name: Deploy to GitHub pages via gh-pages branch
51-
uses: s0/git-publish-subdir-action@master
52-
env:
53-
REPO: [email protected]:rmosolgo/graphql-ruby.git
54-
BRANCH: gh-pages
55-
FOLDER: gh-pages
56-
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}
51+
uses: peaceiris/actions-gh-pages@v4
52+
with:
53+
github_token: ${{ secrets.GITHUB_TOKEN }}
54+
publish_dir: ./gh-pages
5755
api_docs:
5856
needs: website
5957
if: ${{ inputs.publish_version || github.ref_name }}

0 commit comments

Comments
 (0)