rename github to gitea
All checks were successful
Template Cleanup / Template Cleanup (push) Has been skipped
All checks were successful
Template Cleanup / Template Cleanup (push) Has been skipped
This commit is contained in:
parent
c2683ab03f
commit
f2c5cb5f8d
@ -25,8 +25,8 @@ jobs:
|
||||
export LANG=C
|
||||
|
||||
# 变量
|
||||
NAME="${GITHUB_REPOSITORY##*/}"
|
||||
ACTOR=$(echo $GITHUB_ACTOR | tr '[:upper:]' '[:lower:]')
|
||||
NAME="${GITEA_REPOSITORY##*/}"
|
||||
ACTOR=$(echo $GITEA_ACTOR | tr '[:upper:]' '[:lower:]')
|
||||
SAFE_NAME=$(echo $NAME | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]')
|
||||
SAFE_ACTOR=$(echo $ACTOR | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]')
|
||||
echo $NAME
|
||||
@ -47,4 +47,4 @@ jobs:
|
||||
# uses: ad-m/github-push-action@master
|
||||
# with:
|
||||
# branch: main
|
||||
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# gitea_token: ${{ secrets.GITEA_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user