mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
Update deb.yml
This commit is contained in:
parent
8011622f29
commit
d0019630f6
14
.github/workflows/deb.yml
vendored
14
.github/workflows/deb.yml
vendored
@ -35,4 +35,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: v2ray-debian-packages
|
name: v2ray-debian-packages
|
||||||
path: ./*.deb
|
path: ./*.deb
|
||||||
|
- name: Setup Repository
|
||||||
|
if: github.event_name == 'release' && !contains(github.ref, 'pre')
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/v2fly/debian.git archive
|
||||||
|
echo ${{ secrets.GPG_KEY }} | base64 -d > private.key
|
||||||
|
gpg --import private.key
|
||||||
|
cd archive
|
||||||
|
git config --local user.name "${{ github.actor }}"
|
||||||
|
git config --local user.email "${{ github.actor }}@users.noreply.github.com"
|
||||||
|
git remote set-url origin https://${{ github.actor }}:${{ secrets.DEBIAN_REPO_TOKEN }}@github.com/v2fly/debian.git
|
||||||
|
reprepro includedeb ../*.deb
|
||||||
|
git add -A
|
||||||
|
git commit -am 'update'
|
||||||
|
git push origin master
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user