FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sqlmodel/.github/workflows/preview-docs.yml at main · Jaroslav2001/sqlmodel · GitHub
Jaroslav2001
sqlmodel
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
sqlmodel
/
.github
/
workflows
/
preview-docs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
41 lines (40 loc) · 1.17 KB
Breadcrumbs
sqlmodel
/
.github
/
workflows
/
preview-docs.yml
Copy path
File metadata and controls
41 lines (40 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
32
33
34
35
36
37
38
39
40
41
name
:
Preview Docs
on
:
workflow_run
:
workflows
:
-
Build Docs
types
:
-
completed
jobs
:
preview-docs
:
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Download Artifact Docs
uses
:
dawidd6/action-download-artifact@v2.9.0
with
:
github_token
:
${{ secrets.GITHUB_TOKEN }}
workflow
:
build-docs.yml
run_id
:
${{ github.event.workflow_run.id }}
name
:
docs-zip
-
name
:
Unzip docs
run
:
|
rm -rf ./site
unzip docs.zip
rm -f docs.zip
-
name
:
Deploy to Netlify
id
:
netlify
uses
:
nwtgck/actions-netlify@v1.1.5
with
:
publish-dir
:
'
./site
'
production-deploy
:
false
github-token
:
${{ secrets.GITHUB_TOKEN }}
enable-commit-comment
:
false
env
:
NETLIFY_AUTH_TOKEN
:
${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID
:
${{ secrets.NETLIFY_SITE_ID }}
-
name
:
Comment Deploy
uses
:
./.github/actions/comment-docs-preview-in-pr
with
:
token
:
${{ secrets.GITHUB_TOKEN }}
deploy_url
:
"
${{ steps.netlify.outputs.deploy-url }}
"
Back
|
FazBrowse Home
|
New Git URL