Skip to content

Commit

Permalink
fix: workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jan 29, 2022
1 parent c1a096e commit 7a4037f
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: "Build Latest Documentation"
name: 'Build Latest Documentation'

on: [ workflow_dispatch ]
on: [workflow_dispatch]

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- name: Download
run: npm i @discordjs/ts-docgen
- name: Download
run: npm i @discordjs/ts-docgen typedoc-plugin-djs-links

- name: Build
run: npm run build:docs
- name: Build
run: npm run build:docs

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./docs
publish_branch: docs
destination_dir: ./docs/
keep_files: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./docs
publish_branch: docs
destination_dir: ./docs/
keep_files: true
30 changes: 15 additions & 15 deletions .github/workflows/next-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Build Next Documentation"
name: 'Build Next Documentation'

on:
push:
Expand All @@ -10,20 +10,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2

- name: Download
run: npm i @discordjs/ts-docgen
- name: Download
run: npm i @discordjs/ts-docgen typedoc-plugin-djs-links

- name: Build
run: npm run build:nextdocs
- name: Build
run: npm run build:nextdocs

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./docs
publish_branch: docs
destination_dir: ./docs/
keep_files: true
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./docs
publish_branch: docs
destination_dir: ./docs/
keep_files: true

0 comments on commit 7a4037f

Please sign in to comment.