Skip to content

Commit f32f78d

Browse files
x1101oraNod
andauthored
Build and deploy from the devel branch once a week, preferably at the… (#2486)
* Build and deploy from the devel branch once a week, preferably at the start of the week Fixes #2049 * Base Fixups * Change to Daily * Fixes #2049 & #2050 * After some testing, this example works otherwise unmondified if we bump this to fedora 40 (41 and 42 had other failures and would require additional investigation/modification) * Schedule doc builds for devel and latest Fixes #2049 and #2050 (cherry picked from commit f6a8f2e) * rename workflows and rm inputs with defaults (cherry picked from commit 883a23d) * add single quotes for consistency (cherry picked from commit 835340d) * update workflow names (cherry picked from commit bd29aaa) * Revert "After some testing, this example works otherwise unmondified if we bump this to fedora 40 (41 and 42 had other failures and would require additional investigation/modification)" This reverts commit a6b378c. * Cleanup legacy files from rename --------- Co-authored-by: Don Naro <[email protected]>
1 parent 5edf2b2 commit f32f78d

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: Scheduled build for devel docs
3+
"on":
4+
schedule:
5+
# Run at 05:22 daily
6+
- cron: '22 5 * * *'
7+
8+
jobs:
9+
build-package-docs:
10+
name: 📝 Build
11+
uses: ./.github/workflows/reusable-build-docs.yaml
12+
secrets:
13+
DOCS_BOT_TOKEN: ${{ secrets.DOCS_BOT_TOKEN }}
14+
15+
deploy-package-docs:
16+
name: 🚀 Deploy
17+
needs: build-package-docs
18+
uses: ./.github/workflows/reusable-deploy-docs.yaml
19+
with:
20+
deployment-environment: 'production'
21+
secrets:
22+
DEPLOY_DOC_BUILD: ${{ secrets.DEPLOY_DOC_BUILD }}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Scheduled build for latest docs
3+
"on":
4+
schedule:
5+
# Run at 05:41 on Monday
6+
- cron: '41 5 * * 1'
7+
8+
jobs:
9+
build-package-docs:
10+
name: 📝 Build
11+
uses: ./.github/workflows/reusable-build-docs.yaml
12+
with:
13+
repository-branch: 'stable-2.18'
14+
ansible-package-version: '11'
15+
secrets:
16+
DOCS_BOT_TOKEN: ${{ secrets.DOCS_BOT_TOKEN }}
17+
18+
deploy-package-docs:
19+
name: 🚀 Deploy
20+
needs: build-package-docs
21+
uses: ./.github/workflows/reusable-deploy-docs.yaml
22+
with:
23+
ansible-package-version: '11'
24+
deployment-environment: 'production'
25+
repository-branch: 'stable-2.18'
26+
secrets:
27+
DEPLOY_DOC_BUILD: ${{ secrets.DEPLOY_DOC_BUILD }}

0 commit comments

Comments
 (0)