Skip to content

Commit

Permalink
feat(actions): also test doc build on pull requests
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Apr 16, 2023
1 parent 97a2aab commit 29c0280
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/documentation.yml
@@ -1,6 +1,11 @@
name: Docs

on:
pull_request:
branches:
- main
- master
- stable*
push:
branches:
- main
Expand Down Expand Up @@ -39,6 +44,7 @@ jobs:
npm run build:doc --if-present
- name: Deploy
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
Expand Down
35 changes: 35 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -50,6 +50,7 @@
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@nextcloud/typings": "^1.6.0",
"@rollup-extras/plugin-clean": "^1.2.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
Expand Down

0 comments on commit 29c0280

Please sign in to comment.