actions: update the documentation with context examples (script)
This commit is contained in:
parent
42d0557b87
commit
79cc059d98
1 changed files with 18 additions and 0 deletions
18
.forgejo/cascading-docs
Executable file
18
.forgejo/cascading-docs
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
docs=$1
|
||||||
|
docs_pr=$2
|
||||||
|
end_to_end=$3
|
||||||
|
end_to_end_ref=$4
|
||||||
|
|
||||||
|
cd $docs/docs/user
|
||||||
|
|
||||||
|
if ! test -f actions-contexts/version.txt || test "$VERSION" != $(cat actions-contexts/version.txt) ; then
|
||||||
|
rm -fr actions-contexts
|
||||||
|
mkdir actions-contexts
|
||||||
|
echo "$VERSION" > actions-contexts/version.txt
|
||||||
|
# populated by actions/run.sh
|
||||||
|
rsync -av /srv/contexts/ actions-contexts/
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue