ci: replace actions/checkout with raw git clone
Some checks failed
Build and deploy / build-deploy (push) Failing after 0s
Some checks failed
Build and deploy / build-deploy (push) Failing after 0s
This commit is contained in:
@@ -12,7 +12,12 @@ jobs:
|
|||||||
build-deploy:
|
build-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout
|
||||||
|
run: |
|
||||||
|
git init -q
|
||||||
|
git remote add origin "https://oauth2:${{ secrets.GITEA_TOKEN }}@gitea.mystmec.com/${{ github.repository }}.git"
|
||||||
|
git fetch --depth 1 origin "${{ github.sha }}"
|
||||||
|
git checkout -q FETCH_HEAD
|
||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user