This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git
The following commit(s) were added to refs/heads/main by this push:
new a815d2a split website and cwiki-retired jobs
a815d2a is described below
commit a815d2a737ef434ea176bf8af76f695ac6d8aa5e
Author: HervΓ© Boutemy <[email protected]>
AuthorDate: Sun Apr 20 16:12:27 2025 +0200
split website and cwiki-retired jobs
---
.github/workflows/build.yml | 29 ++++++++++++++++++++---------
cwiki_retired/AAREADME.txt | 2 +-
2 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 211d0bd..4c8f838 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,7 +23,7 @@ on:
pull_request:
jobs:
- build:
+ website:
runs-on: ubuntu-latest
steps:
@@ -37,18 +37,10 @@ jobs:
ref: asf-site
fetch-depth: 1
path: asf-site
- - name: π Checkout cwiki-retired branch with minimum depth
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #
3.5.3
- with:
- ref: cwiki-retired
- fetch-depth: 1
- path: cwiki-retired
- name: π§ Build site
run: |
rm -rf asf-site/output/*
./build.sh -Ddocs.dest=asf-site/output
- rm -rf cwiki-retired/*
- cp cwiki_retired/* cwiki-retired
- name: π Add commit to the asf-site branch
working-directory: asf-site
run: |
@@ -62,6 +54,25 @@ jobs:
then
git push origin asf-site
fi
+
+ cwiki:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: π Checkout
+ uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #
v3.5.3
+ with:
+ fetch-depth: 1
+ - name: π Checkout cwiki-retired branch with minimum depth
+ uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #
3.5.3
+ with:
+ ref: cwiki-retired
+ fetch-depth: 1
+ path: cwiki-retired
+ - name: π§ Prepare cwiki-retired content
+ run: |
+ rm -rf cwiki-retired/*
+ cp cwiki_retired/* cwiki-retired
- name: π Add commit to the cwiki-retired branch
working-directory: cwiki-retired
run: |
diff --git a/cwiki_retired/AAREADME.txt b/cwiki_retired/AAREADME.txt
index c107213..770a192 100644
--- a/cwiki_retired/AAREADME.txt
+++ b/cwiki_retired/AAREADME.txt
@@ -1,6 +1,6 @@
This directory contains marker files to indicate which Wikis relate to retired
projects.
-The contents are checked out to a directory on the webserver that hosts
project websites:
+The contents are copied to cwiki-retired branch, checked out to a directory on
the webserver that hosts Confluence Wikis:
https://github.com/apache/infrastructure-p6/blob/production/modules/cwiki_asf/manifests/init.pp
It is invoked by the cwiki vhosts: