Skip to content

Commit 1ed05d5

Browse files
authored
Move output to subdir (#4)
* Move output to subdir * Ignore the asf-site checkout
1 parent a534a24 commit 1ed05d5

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ jobs:
3939
with:
4040
ref: asf-site
4141
fetch-depth: 1
42-
path: docs
42+
path: asf-site
4343
- name: 🔧 Build site
4444
run: |
45-
rm -rf docs/*
46-
./build.sh
45+
rm -rf asf-site/output/*
46+
./build.sh -Ddocs.dest=asf-site/output
4747
- name: 🚀 Add commit to the asf-site
4848
if: ${{ github.event_name == 'push' }}
49-
working-directory: docs
49+
working-directory: asf-site
5050
run: |
5151
echo "Running git config"
5252
git config user.name "GitHub Actions"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
docs/
1+
asf-site/
22
.svn-legacy/

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Script to build the Attic site from xdocs/ sources to docs/ html output
3+
# Script to build the Attic site from xdocs/ sources to html output
4+
# default output is in docs/, override with -Ddocs.dest=path
45

5-
ant -Danakia.check.date=false
6+
ant -Danakia.check.date=false "$@"

0 commit comments

Comments
 (0)