This commit is contained in:
Marc Beninca 2024-03-25 20:49:12 +01:00
parent c1aad03c68
commit 71cd517840
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
8 changed files with 2 additions and 2 deletions

View file

@ -1 +0,0 @@
tree -a "${GITHUB_WORKSPACE}"

View file

@ -1,7 +0,0 @@
if [ -x './build.py' ] ; then
./build.py
elif [ -x './build.sh' ] ; then
./build.sh
else
exit
fi

View file

@ -1,8 +0,0 @@
git clone \
--branch "${GITHUB_REF_NAME}" \
-- \
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \
'.'
rm --force --recursive \
'.git' '.gitignore'

View file

@ -1,15 +0,0 @@
[ "${1}" ] && REPOSITORY_FULL="${1}" || exit
REPOSITORY_NAME="$(basename ${REPOSITORY_FULL})"
REPOSITORY_TEMP="$(mktemp --directory)"
git clone \
-- \
"${GITHUB_SERVER_URL}/${REPOSITORY_FULL}" \
"${REPOSITORY_TEMP}"
mv "${REPOSITORY_TEMP}/${REPOSITORY_NAME}" \
/usr/local/lib/python3.*/dist-packages/
rm --force --recursive \
"${REPOSITORY_TEMP}"

View file

@ -1 +0,0 @@
apt-get install --yes "${@}"

View file

@ -1,2 +0,0 @@
unset TOP_SECRET
env | sort

View file

@ -1,23 +0,0 @@
[ "${1}" ] && SYNC_SOURCE="${1}" || exit
SYNC_USER='cd'
[ "${GITHUB_SERVER_URL}" ] \
&& SYNC_HOST="$(basename ${GITHUB_SERVER_URL})" || exit
[ "${SYNC_USER}" ] \
&& SYNC_ROOT="/${SYNC_USER}" || exit
[ "${GITHUB_REF_NAME}" ] \
&& SYNC_ROOT="${SYNC_ROOT}/${GITHUB_REF_NAME}" || exit
[ "${GITHUB_REPOSITORY}" ] \
&& SYNC_ROOT="${SYNC_ROOT}/${GITHUB_REPOSITORY}" || exit
SYNC_TARGET="${SYNC_USER}@${SYNC_HOST}:${SYNC_ROOT}"
[ "${2}" ] && SYNC_TARGET="${SYNC_TARGET}/${2}"
rsync \
--archive \
--delete-before \
--verbose \
"${SYNC_SOURCE}/" \
"${SYNC_TARGET}/"