mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2025-02-14 19:11:46 +01:00
just include the settings.xml in the repo
This commit is contained in:
parent
5088e973e0
commit
e6ebff536a
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -20,8 +20,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.m2
|
|
||||||
echo "<settings><servers><server><id>github</id><username>x-access-token</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" > ~/.m2/settings.xml
|
|
||||||
mvn -B javadoc:javadoc deploy
|
mvn -B javadoc:javadoc deploy
|
||||||
- name: Commit javadocs
|
- name: Commit javadocs
|
||||||
run: |
|
run: |
|
||||||
|
30
.mvn/settings.xml
Normal file
30
.mvn/settings.xml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||||||
|
http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||||
|
|
||||||
|
<activeProfiles>
|
||||||
|
<activeProfile>github</activeProfile>
|
||||||
|
</activeProfiles>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>github</id>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>github</id>
|
||||||
|
<name>GitHub Maven Packages</name>
|
||||||
|
<url>https://maven.pkg.github.com/MilkBowl/github-release/</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>github</id>
|
||||||
|
<username>MilkBowl</username>
|
||||||
|
<password>${env.GITHUB_TOKEN}</password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
</settings>
|
Loading…
Reference in New Issue
Block a user