Skip to content

Commit 07a2bcc

Browse files
committed
Update API docs workflow
1 parent 16ed152 commit 07a2bcc

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.github/workflows/api-docs.yml

+11-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
name: deploy-api-docs
22
on:
3-
push:
4-
branches:
5-
- main
3+
push:
4+
branches:
5+
- main
6+
67
jobs:
7-
deploy:
8-
name: api.vapor.codes
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: Deploy api-docs
12-
uses: appleboy/ssh-action@master
13-
with:
14-
host: vapor.codes
15-
username: vapor
16-
key: ${{ secrets.VAPOR_CODES_SSH_KEY }}
17-
script: ./github-actions/deploy-api-docs.sh
8+
build-and-deploy:
9+
uses: vapor/api-docs/.github/workflows/build-and-deploy-docs-workflow.yml@main
10+
secrets: inherit
11+
with:
12+
package_name: jwt
13+
modules: JWT
14+
pathsToInvalidate: /jwt

0 commit comments

Comments
 (0)