mirror of
https://github.com/onsonr/nebula.git
synced 2025-03-10 09:27:09 +00:00
refactor: Move documentation deployment to release workflow
This commit is contained in:
parent
0a25247a94
commit
34edc2edb6
24
.github/workflows/docs.yml
vendored
24
.github/workflows/docs.yml
vendored
@ -1,24 +0,0 @@
|
||||
name: Deploy Docs
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Build
|
||||
uses: TartanLlama/actions-eleventy@master
|
||||
with:
|
||||
args: --input=docs
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
publish_dir: _site
|
||||
publish_branch: gh-pages
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -28,10 +28,16 @@ jobs:
|
||||
git config user.name "Prad N."
|
||||
git config user.email "prad@sonr.io"
|
||||
|
||||
|
||||
- name: Build
|
||||
run: bun run build
|
||||
|
||||
- name: Deploy Docs
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
publish_dir: _site
|
||||
publish_branch: gh-pages
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: 'Automated Version Bump and Release'
|
||||
run: |
|
||||
git add .
|
||||
|
Loading…
x
Reference in New Issue
Block a user