This commit is contained in:
@@ -15,17 +15,25 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y git grep sed
|
apt-get install -y git grep sed
|
||||||
|
|
||||||
|
- name: Variablen setzen
|
||||||
|
run: |
|
||||||
|
set -e
|
||||||
|
echo "REPO=${{ gitea.repository }}" >> "$GITHUB_ENV"
|
||||||
|
echo "TAG=${{ gitea.ref_name }}" >> "$GITHUB_ENV"
|
||||||
|
echo "SERVER_URL=https://git.local.unique-studios.de" >> "$GITHUB_ENV"
|
||||||
|
echo "API_BASE=https://git.local.unique-studios.de/api/v1" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- name: Repo klonen
|
- name: Repo klonen
|
||||||
run: |
|
run: |
|
||||||
rm -rf /tmp/repo
|
rm -rf /tmp/repo
|
||||||
git clone http://oauth2:${{ secrets.PAT_TOKEN }}@10.10.2.140:3000/Torsten/HailMaryGuildTools.git /tmp/repo
|
git clone https://oauth2:${{ secrets.PAT_TOKEN }}@git.local.unique-studios.de/${REPO}.git" /tmp/repo
|
||||||
|
|
||||||
- name: Version aus TOC lesen
|
- name: Version aus TOC lesen
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
cd /tmp/repo
|
cd /tmp/repo
|
||||||
|
|
||||||
TOC_FILE="HailMaryGuildTools.toc"
|
TOC_FILE="${REPO}.toc"
|
||||||
|
|
||||||
if [ ! -f "$TOC_FILE" ]; then
|
if [ ! -f "$TOC_FILE" ]; then
|
||||||
echo "TOC-Datei nicht gefunden: $TOC_FILE"
|
echo "TOC-Datei nicht gefunden: $TOC_FILE"
|
||||||
|
|||||||
Reference in New Issue
Block a user