Skip to content

Commit

Permalink
Docs (#136)
Browse files Browse the repository at this point in the history
* adds jso docs script github

* updates pat for docs

* update docs generate workflow

* use pat to publuish docs
  • Loading branch information
zemuldo committed Sep 18, 2023
1 parent be0403f commit 0ec901a
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ on:
push:
branches:
- main
- docs

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build
uses: andstor/jsdoc-action@v1
with:
output_dir: ./docs
config_file: js_docs.conf.json
template: minami
front_page: README.md
- name: Install Dependencies
run : npm install

- name: Generate Docs
run : npm run docs

- name: Deploy
- name: Publish Docs
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
github_token: ${{ secrets.PAGES_PUBLISH_ISO_8583 }}
publish_dir: ./docs

0 comments on commit 0ec901a

Please sign in to comment.