Skip to content

Commit

Permalink
docs: deploy to gh pages
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Jul 18, 2022
1 parent 3c1dd2c commit 6fef844
Show file tree
Hide file tree
Showing 5 changed files with 11,804 additions and 14,727 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,19 @@ jobs:
- uses: ./.github/actions/setup-deps
- run: yarn core build
#- run: yarn core test
docs:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-deps
- run: yarn docs build
- uses: JamesIves/github-pages-deploy-action@4.3.4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: ./docs/build
release:
runs-on: ubuntu-latest
needs: build
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "docs",
"name": "@clientdb/docs",
"version": "0.0.0",
"private": true,
"scripts": {
Expand Down

0 comments on commit 6fef844

Please sign in to comment.