Skip to content

Commit 1fcb22c

Browse files
authored
Merge pull request #729 from wxtim/deply-to-wxtim-docs
Deply to wxtim docs
2 parents be4cbd7 + 84553f3 commit 1fcb22c

File tree

2 files changed

+61
-1
lines changed

2 files changed

+61
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
uses: cylc/release-actions/configure-git@v1
7474

7575
- name: checkout cylc-doc
76-
uses: actions/checkout@v4
76+
uses: actions/checkout@v5
7777
with:
7878
ref: ${{ inputs.cylc-flow-tag }}
7979
path: docs

.github/workflows/tims_docs.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# THIS FILE IS PART OF THE CYLC WORKFLOW ENGINE.
2+
# Copyright (C) NIWA & British Crown (Met Office) & Contributors.
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
9+
# This program is distributed in the hope that it will be useful,
10+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
# GNU General Public License for more details.
13+
#
14+
# You should have received a copy of the GNU General Public License
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
17+
# Deploy a new version of the documentation or rebuild an existing one.
18+
19+
# Note: All changes made to the gh-pages branch are non-destructive
20+
# (i.e. no force pushing) so all changes can be undone.
21+
22+
name: deploy
23+
24+
on:
25+
workflow_dispatch:
26+
27+
28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.ref }}
30+
31+
jobs:
32+
deploy:
33+
runs-on: ubuntu-latest
34+
timeout-minutes: 20
35+
defaults:
36+
run:
37+
# use login shell for conda activation
38+
shell: bash -leo pipefail {0}
39+
steps:
40+
- name: configure python
41+
uses: actions/setup-python@v5
42+
with:
43+
python-version: '3.9'
44+
45+
- name: configure git
46+
uses: cylc/release-actions/configure-git@v1
47+
48+
- name: checkout cylc-doc
49+
uses: actions/checkout@v5
50+
with:
51+
path: cylc-doc
52+
53+
- name: checkout cylc-doc
54+
uses: actions/checkout@v5
55+
with:
56+
path: cylc-flow
57+
58+
- name: debug
59+
run: |
60+
tree .

0 commit comments

Comments
 (0)