From 87eed8f240eafd04484322e58eafb461e338bd03 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Sun, 13 Dec 2020 11:57:55 -0600 Subject: [PATCH] deploy to ldapjs.github.io --- .github/workflows/docs.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ff30b6b..ad9cf44 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,12 @@ jobs: - name: Build Docs run: npm run docs - name: Deploy 🚢 - uses: peaceiris/actions-gh-pages@v3 + uses: cpina/github-action-push-to-another-repository@master + env: + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} with: - github_token: ${{ secrets.GITHUB_TOKEN }} + source-directory: 'public' + destination-github-username: 'ldapjs' + destination-repository-name: 'ldapjs.github.io' + user-email: 'bot@ldapjs.org' + target-branch: 'gh-pages'