forked from data-apis/array-api-compat
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 760 Bytes
/
docs-deploy.yml
File metadata and controls
30 lines (27 loc) · 760 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
name: Docs Deploy
on:
push:
branches:
- main
jobs:
docs-deploy:
runs-on: ubuntu-latest
environment:
name: docs-deploy
steps:
- uses: actions/checkout@v4
- name: Download Artifact
uses: dawidd6/action-download-artifact@v9
with:
workflow: docs-build.yml
name: docs-build
path: docs/_build/html
# Note, the gh-pages deployment requires setting up a SSH deploy key.
# See
# https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key-
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/_build/html
ssh-key: ${{ secrets.DEPLOY_KEY }}
force: no