-
-
Notifications
You must be signed in to change notification settings - Fork 265
29 lines (25 loc) · 742 Bytes
/
Copy pathdocs.yaml
File metadata and controls
29 lines (25 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build & Deploy Site
# Builds the full site (React landing + MkDocs docs + blog, see build-docs.yml) and
# cross-repo deploys it to the GitHub Pages repo serving dstack.ai.
on:
workflow_dispatch:
jobs:
build-docs:
uses: ./.github/workflows/build-docs.yml
secrets: inherit
deploy-docs:
needs: [build-docs]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: site
path: site
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.6.4
with:
repository-name: dstackai/dstackai.github.io
branch: gh-pages
token: ${{ secrets.GH_TOKEN }}
folder: site