From 4c4316b03ce17128407d6008f27c2ca8525d1042 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Wed, 13 Nov 2024 04:08:16 -0800 Subject: [PATCH] bugfixes --- .gitea/workflows/rename_project.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/rename_project.yml b/.gitea/workflows/rename_project.yml index d366948..094b05e 100644 --- a/.gitea/workflows/rename_project.yml +++ b/.gitea/workflows/rename_project.yml @@ -14,15 +14,15 @@ jobs: # by default, it uses a depth of 1 # this fetches all history so that we can read each commit fetch-depth: 0 - ref: ${{ github.head_ref }} + ref: ${{ gitea.head_ref }} - - run: echo "REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV + - run: echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV shell: bash - - run: echo "REPOSITORY_URLNAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_ENV + - run: echo "REPOSITORY_URLNAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}')" >> $GITHUB_ENV shell: bash - - run: echo "REPOSITORY_OWNER=$(echo '${{ github.repository }}' | awk -F '/' '{print $1}')" >> $GITHUB_ENV + - run: echo "REPOSITORY_OWNER=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $1}')" >> $GITHUB_ENV shell: bash - name: Is this still a template