This repository was archived by the owner on Jul 31, 2022. It is now read-only.
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/release.yml +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
36 | 36 | repo-token: ${{ secrets.GITHUB_TOKEN }} |
37 | 37 |
|
38 | 38 | - name: 🚀 Deploy to GitHub Packages |
39 | | - run: mvn -B -DskipTests deploy -Dregistry=https://maven.pkg.github.com/Ktt-Development -Dtoken=${{ secrets.GITHUB_TOKEN }} |
| 39 | + run: mvn -B -DskipTests -s settings.xml deploy |
| 40 | + env: |
| 41 | + GITHUB_USERNAME: Katsute |
| 42 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Collapse file
Copy file name to clipboardExpand all lines: pom.xml +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
17 | 17 | < developerConnection>scm:git: [email protected]:Ktt-Development/simplehttpserver.git</ developerConnection> |
18 | 18 | <tag>HEAD</tag> |
19 | 19 | </scm> |
20 | | - |
21 | | - |
| 20 | + |
22 | 21 | <distributionManagement> |
23 | 22 | <repository> |
24 | 23 | <id>github</id> |
|
Collapse file
Copy file name to clipboard +30Lines changed: 30 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> |
| 2 | +<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> |
| 5 | + <activeProfiles> |
| 6 | + <activeProfile>github</activeProfile> |
| 7 | + </activeProfiles> |
| 8 | + |
| 9 | + <profiles> |
| 10 | + <profile> |
| 11 | + <id>github</id> |
| 12 | + <repositories> |
| 13 | + <repository> |
| 14 | + <id>github</id> |
| 15 | + <name>GitHub Ktt-Development Apache Maven Packages</name> |
| 16 | + <url>https://maven.pkg.github.com/Ktt-Development</url> |
| 17 | + </repository> |
| 18 | + </repositories> |
| 19 | + </profile> |
| 20 | + </profiles> |
| 21 | + |
| 22 | + <servers> |
| 23 | + <server> |
| 24 | + <id>github</id> |
| 25 | + <username>${env.GITHUB_USERNAME}</username> |
| 26 | + <password>${env.GITHUB_TOKEN}</password> |
| 27 | + </server> |
| 28 | + </servers> |
| 29 | + |
| 30 | +</settings> |