Skip to content

Commit

Permalink
Merge pull request #272 from hyphacoop/publish-via-dp-#235
Browse files Browse the repository at this point in the history
Add Distributed Press Publishing to GitHub Actions Workflow
  • Loading branch information
tripledoublev authored Jan 4, 2024
2 parents 914a6fc + 9afe2c8 commit 1215485
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ jobs:
npm install
npx honkit build
- name: Publish to Distributed Press Production
if: ${{ github.ref == 'refs/heads/master' }}
uses: hyphacoop/[email protected]
with:
publish_dir: ./_book
dp_url: https://api.distributed.press
refresh_token: ${{ secrets.DISTRIBUTED_PRESS_PRODUCTION_TOKEN}}
site_url: handbook.hypha.coop

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 1215485

Please sign in to comment.