File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1- name : Upload to PYPI , AUR, COPR
1+ name : Publish to PyPi , AUR, COPR
22
33on :
44 workflow_dispatch :
5757 deploy_copr :
5858 runs-on : ubuntu-latest
5959 environment : prod
60- needs : deploy_pypi
6160
6261 steps :
6362 - uses : actions/checkout@v3
6665 - name : Build spec file
6766 run : sed "s/REPLACE_VERSION/$(cat pyproject.toml | grep -E 'version = "[0-9\.]+"' -o | grep -E "[0-9\.]+" -o)/" hhd.spec > ./pkg/hhd.spec
6867 - name : Publish to COPR repo
69- uses : ad-m/github-push-action@master
70- with :
71- github_token : ${{ secrets.COPR_TOKEN }}
72- repository : hhd-dev/hhd-copr
73- directory : ./pkg
74- ssh : true
68+ uses : s0/git-publish-subdir-action@develop
69+ env :
70+ REPO :
[email protected] :hhd-dev/hhd-copr.git 71+ BRANCH : main
72+ FOLDER : pkg
73+ SSH_PRIVATE_KEY : ${{ secrets.COPR_SSH_PRIVATE_KEY }}
74+ MESSAGE : update to '${{ github.event.release.name }}'
75+ SKIP_EMPTY_COMMITS : true
76+ # Do not clear any files
77+ CLEAR_GLOBS_FILE : .github/workflows/copr_glob.txt
You can’t perform that action at this time.
0 commit comments