Skip to content

Commit

Permalink
Update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Feb 1, 2024
1 parent e0e3520 commit db7d65b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ jobs:
java-version: 1.8
- name: Maven deploy
env:
FTP_USER: ${{ secrets.FTP_USER }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn deploy -s settings.xml
6 changes: 3 additions & 3 deletions settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>bgm</id>
<username>${env.FTP_USER}</username>
<password>${env.FTP_PASSWORD}</password>
<id>github</id>
<username>BGMP</username>
<password>${env.GITHUB_TOKEN}</password>
</server>
</servers>

Expand Down

0 comments on commit db7d65b

Please sign in to comment.