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