mirror of
http://124.126.16.154:8888/singularity/HyperfDevelopmentKitCore.git
synced 2026-01-15 03:45:06 +08:00
ci(GiteaActions): 使用密钥推送包
All checks were successful
Publish when Pushed / Explore-Gitea-Actions (push) Successful in 22s
All checks were successful
Publish when Pushed / Explore-Gitea-Actions (push) Successful in 22s
Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
@@ -5,6 +5,8 @@ on: [ push ]
|
|||||||
jobs:
|
jobs:
|
||||||
Explore-Gitea-Actions:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
secrets:
|
||||||
|
USERNAME:
|
||||||
steps:
|
steps:
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
@@ -23,7 +25,7 @@ jobs:
|
|||||||
zip hdk-core.dist.zip *
|
zip hdk-core.dist.zip *
|
||||||
- name: Publish to registry
|
- name: Publish to registry
|
||||||
run: |
|
run: |
|
||||||
curl --user ${{ secrets.SERVER_USERNAME }}:${{ secrets.SERVER_PASSWORD }} \
|
curl --user ch4o5:4fd300672472e666014314c1c94c604c634165a9 \
|
||||||
--upload-file ./hdk-core.dist.zip \
|
--upload-file ./hdk-core.dist.zip \
|
||||||
https://nest.doylee.cn/api/packages/hdk/composer?version=dev-${{ gitea.ref_name }}
|
https://nest.doylee.cn/api/packages/hdk/composer?version=dev-${{ gitea.ref_name }}
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
Reference in New Issue
Block a user