This commit is contained in:
parent
f7d7f72209
commit
a134b01d34
@ -10,12 +10,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code from Gitea
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.AUTOGENERATE }}
|
GITEA_TOKEN: ${{ secrets.AUTOGENERATE }}
|
||||||
GITEA_REPO_URL: ${{ github.server_url }}/${{ github.repository }}
|
GITEA_REPO_URL: ${{ github.server_url }}/${{ github.repository }}
|
||||||
|
CLEAN_REPO_URL: ${{ github.server_url }}/${{ github.repository }}
|
||||||
run: |
|
run: |
|
||||||
git clone "${GITEA_TOKEN}@${GITEA_REPO_URL}" .
|
# 去除多余的 https://
|
||||||
|
CLEAN_REPO_URL="${CLEAN_REPO_URL#https://}"
|
||||||
|
git clone "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}" .
|
||||||
|
|
||||||
- name: Create README
|
- name: Create README
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user