add deploy to gitea packages
Some checks failed
Gitea Action Maven build / build (push) Failing after 1m31s
Some checks failed
Gitea Action Maven build / build (push) Failing after 1m31s
This commit is contained in:
parent
3e0f5c6439
commit
414a97aa82
@ -28,3 +28,20 @@ jobs:
|
||||
name: searchengine-artifact
|
||||
path: |
|
||||
target/*.jar
|
||||
- name: Create Maven settings.xml
|
||||
run: |
|
||||
cat <<EOF > ~/.m2/settings.xml
|
||||
<settings>
|
||||
<servers>
|
||||
<server>
|
||||
<id>gitea</id>
|
||||
<username>${{ vars.OWNER }}</username>
|
||||
<password>${{ secrets.ACCESS_TOKEN }}</password>
|
||||
</server>
|
||||
</servers>
|
||||
</settings>
|
||||
EOF
|
||||
- name: Replace {owner} in pom.xml
|
||||
run: sed -i "s/{owner}/${{ vars.OWNER }}/g" pom.xml
|
||||
- name: Deploy to Gitea Packages
|
||||
run: mvn deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user