This commit is contained in:
parent
513daf75d2
commit
0fdd759e32
5
.github/workflows/checksums.yml
vendored
5
.github/workflows/checksums.yml
vendored
@ -13,7 +13,8 @@ jobs:
|
||||
- name: Generate checksums
|
||||
run: |
|
||||
set -e
|
||||
rm -rf /tmp/repo || true
|
||||
git config --global credential.helper store
|
||||
echo "https://ci:${{ secrets.CI_PASSWORD }}@git.haozi.net" > ~/.git-credentials
|
||||
git clone --depth 1 ${{ github.server_url }}/${{ github.repository }}.git /tmp/repo
|
||||
cd /tmp/repo
|
||||
git checkout ${{ github.ref_name }}
|
||||
@ -29,7 +30,5 @@ jobs:
|
||||
git add -A
|
||||
git config --global user.name "CI"
|
||||
git config --global user.email "ci@haozi.net"
|
||||
git config --global user.password "${{ secrets.CI_PASSWORD }}"
|
||||
git commit -m "chore: update checksums" || true
|
||||
git push origin ${{ github.ref_name }}
|
||||
rm -rf /tmp/repo
|
||||
|
Loading…
x
Reference in New Issue
Block a user