ci: publish to API support

This commit is contained in:
Toby 2023-09-01 17:37:11 -07:00
parent 45b71f2386
commit d6c5ef2a0a
3 changed files with 62 additions and 1 deletions

View file

@ -41,5 +41,5 @@ jobs:
- name: Archive
uses: actions/upload-artifact@v3
with:
name: hysteria-master
name: hysteria-master-${{ github.sha }}
path: build

View file

@ -41,3 +41,9 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: build/*
- name: Publish to API
run: |
pip install requests
export HY_API_POST_KEY=${{ secrets.HY2_API_POST_KEY }}
python hyperbole.py publish