mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 02:45:19 +00:00
Add gh pages (#26)
* Add gh pages * Add EOF * Remove pull_request trigger on gh-pages
This commit is contained in:
parent
101db8e75a
commit
8eabda3649
13
.github/workflows/gh-pages.yaml
vendored
13
.github/workflows/gh-pages.yaml
vendored
@ -4,26 +4,25 @@ on:
|
|||||||
branches: [v0]
|
branches: [v0]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODEJS_VERSION: '16'
|
NODEJS_VERSION: "16"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODEJS_VERSION }}
|
node-version: ${{ env.NODEJS_VERSION }}
|
||||||
cache: npm
|
cache: npm
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- name: Include web stuff
|
- name: Bundle specification
|
||||||
run: cp -v web/* dist/
|
run: npm run build
|
||||||
- name: Publish ReDoc on Github Pages
|
- name: Publish ReDoc on Github Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./dist
|
publish_dir: ./dist
|
||||||
|
exclude_assets: "swagger-ui"
|
||||||
|
Loading…
Reference in New Issue
Block a user