FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
dss/.github/workflows/docs.yml at master · wing-utm-sharing-airspace/dss · GitHub
wing-utm-sharing-airspace
/
dss
Public
forked from
interuss/dss
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
dss
/
.github
/
workflows
/
docs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
47 lines (47 loc) · 1.76 KB
Breadcrumbs
dss
/
.github
/
workflows
/
docs.yml
Copy path
File metadata and controls
47 lines (47 loc) · 1.76 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
42
43
44
45
46
47
name
:
Publish DSS deployment documentation (on new release tag and master)
on
:
push
:
branches
:
-
master
tags
:
#
To modify to trigger the job for fork's releases
#
Note: GitHub's filter pattern capabilities are limited[1], so this
#
pattern matches more often than it should. A more correct regex would
#
be the one found in scripts/tag.sh.
#
[1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#filter-pattern-cheat-sheet
-
"
interuss/dss/v[0-9]+.[0-9]+.[0-9]+-?*
"
permissions
:
contents
:
write
jobs
:
deploy
:
runs-on
:
ubuntu-latest
if
:
github.repository == 'interuss/dss'
steps
:
-
uses
:
actions/checkout@v6
with
:
fetch-depth
:
0
-
name
:
Configure Git Credentials
run
:
|
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
-
uses
:
actions/setup-python@v5
with
:
python-version
:
3.x
-
run
:
echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
-
uses
:
actions/cache@v4
with
:
key
:
mkdocs-material-${{ env.cache_id }}
path
:
~/.cache
restore-keys
:
|
mkdocs-material-
-
run
:
|
pip install -r docs/requirements.txt
-
if
:
${{ github.ref_type == 'branch' }}
run
:
mike deploy --push dev
name
:
Deploy 'dev' deployment documentation from 'master' branch
-
if
:
${{ github.ref_type == 'tag' }}
run
:
|
VERSION=$(echo ${{ github.ref_name }} | sed -e "s/^interuss\/dss\/v//")
mike deploy --push --update-aliases $VERSION latest
mike set-default --push latest
name
:
Deploy new version of deployment documentation from tag
Back
|
FazBrowse Home
|
New Git URL