add authentification section in pipeline
All checks were successful
Gitea Action Maven Build / build (push) Successful in 2m49s
All checks were successful
Gitea Action Maven Build / build (push) Successful in 2m49s
This commit is contained in:
parent
1dcfe3999b
commit
2e02f92552
@ -36,5 +36,20 @@ jobs:
|
|||||||
russian/target/russian-1.5.jar
|
russian/target/russian-1.5.jar
|
||||||
morph/target/morph-1.5.jar
|
morph/target/morph-1.5.jar
|
||||||
solr-morphology-analysis/target/morphology-1.5.jar
|
solr-morphology-analysis/target/morphology-1.5.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: Deploy to Gitea Packages
|
- name: Deploy to Gitea Packages
|
||||||
run: mvn deploy
|
run: mvn deploy
|
Loading…
x
Reference in New Issue
Block a user