mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-27 13:28:51 +07:00
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 f6a8f2e73beb346213b071f21bf09e78a7c6fff9)
* rename workflows and rm inputs with defaults
(cherry picked from commit 883a23d1dfcbc954b9edb0e8ba17ac590c9fcdd5)
* add single quotes for consistency
(cherry picked from commit 835340d1de39c29a00e7ee637f02fc456ef36ad6)
* update workflow names
(cherry picked from commit bd29aaa23b666086d887eb4a7e8380171c1b9f17)
* 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 a6b378c787.
* Cleanup legacy files from rename
---------
Co-authored-by: Don Naro <dnaro@redhat.com>
This commit is contained in:
22
.github/workflows/build-devel-docs.yaml
vendored
Normal file
22
.github/workflows/build-devel-docs.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: Scheduled build for devel docs
|
||||
"on":
|
||||
schedule:
|
||||
# Run at 05:22 daily
|
||||
- cron: '22 5 * * *'
|
||||
|
||||
jobs:
|
||||
build-package-docs:
|
||||
name: 📝 Build
|
||||
uses: ./.github/workflows/reusable-build-docs.yaml
|
||||
secrets:
|
||||
DOCS_BOT_TOKEN: ${{ secrets.DOCS_BOT_TOKEN }}
|
||||
|
||||
deploy-package-docs:
|
||||
name: 🚀 Deploy
|
||||
needs: build-package-docs
|
||||
uses: ./.github/workflows/reusable-deploy-docs.yaml
|
||||
with:
|
||||
deployment-environment: 'production'
|
||||
secrets:
|
||||
DEPLOY_DOC_BUILD: ${{ secrets.DEPLOY_DOC_BUILD }}
|
||||
27
.github/workflows/build-latest-docs.yaml
vendored
Normal file
27
.github/workflows/build-latest-docs.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: Scheduled build for latest docs
|
||||
"on":
|
||||
schedule:
|
||||
# Run at 05:41 on Monday
|
||||
- cron: '41 5 * * 1'
|
||||
|
||||
jobs:
|
||||
build-package-docs:
|
||||
name: 📝 Build
|
||||
uses: ./.github/workflows/reusable-build-docs.yaml
|
||||
with:
|
||||
repository-branch: 'stable-2.18'
|
||||
ansible-package-version: '11'
|
||||
secrets:
|
||||
DOCS_BOT_TOKEN: ${{ secrets.DOCS_BOT_TOKEN }}
|
||||
|
||||
deploy-package-docs:
|
||||
name: 🚀 Deploy
|
||||
needs: build-package-docs
|
||||
uses: ./.github/workflows/reusable-deploy-docs.yaml
|
||||
with:
|
||||
ansible-package-version: '11'
|
||||
deployment-environment: 'production'
|
||||
repository-branch: 'stable-2.18'
|
||||
secrets:
|
||||
DEPLOY_DOC_BUILD: ${{ secrets.DEPLOY_DOC_BUILD }}
|
||||
Reference in New Issue
Block a user