Skip to content

Commit

Permalink
Create docs_deploy.yml
Browse files Browse the repository at this point in the history
Add Docs Deploy workflow
  • Loading branch information
RieksJ committed Jul 11, 2023
1 parent c1d53a7 commit 82561a6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/docs_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Docs Deploy

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

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

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install Dependencies
run: npm ci

- name: Build and Deploy
run: |
npx docusaurus build --out-dir build
touch build/.nojekyll
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build

0 comments on commit 82561a6

Please sign in to comment.