Skip to content

Commit db7d65b

Browse files
committed
Update deploy workflow
1 parent e0e3520 commit db7d65b

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ jobs:
1717
java-version: 1.8
1818
- name: Maven deploy
1919
env:
20-
FTP_USER: ${{ secrets.FTP_USER }}
21-
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2221
run: mvn deploy -s settings.xml

settings.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
http://maven.apache.org/xsd/settings-1.0.0.xsd">
55
<servers>
66
<server>
7-
<id>bgm</id>
8-
<username>${env.FTP_USER}</username>
9-
<password>${env.FTP_PASSWORD}</password>
7+
<id>github</id>
8+
<username>BGMP</username>
9+
<password>${env.GITHUB_TOKEN}</password>
1010
</server>
1111
</servers>
1212

0 commit comments

Comments
 (0)