-
-
Notifications
You must be signed in to change notification settings - Fork 221
31 lines (28 loc) · 713 Bytes
/
docs.yaml
File metadata and controls
31 lines (28 loc) · 713 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
30
31
name: Build & Deploy Docs
on:
workflow_dispatch:
inputs:
release-tag:
description: "dstack version"
jobs:
build-docs:
uses: ./.github/workflows/build-docs.yml
with:
release-tag: ${{ inputs.release-tag }}
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