Skip to content

Commit 18679a4

Browse files
authored
Update maven.yml
1 parent f7f32be commit 18679a4

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/maven.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,25 @@ jobs:
4545
- name: Deploy to GitHub Pages
4646
id: deployment
4747
uses: actions/deploy-pages@v4
48-
deploy:
49-
runs-on: ubuntu-latest
50-
needs: build
51-
permissions:
52-
contents: read
53-
packages: write
54-
steps:
55-
- uses: actions/checkout@v5
56-
- run: sed -i 's|http://localhost:8080/|${{ secrets.TOMCAT_HOST }}|g' pom.xml
57-
- name: Set up Maven Central Repository
58-
uses: actions/setup-java@v5
59-
with:
60-
java-version: 21
61-
distribution: 'temurin'
62-
server-id: TomcatServer
63-
server-username: MAVEN_USERNAME
64-
server-password: MAVEN_PASSWORD
65-
- name: Deploy package
66-
run: mvn --batch-mode tomcat7:deploy
67-
env:
68-
MAVEN_USERNAME: ${{ secrets.TOMCAT_USER }}
69-
MAVEN_PASSWORD: ${{ secrets.TOMCAT_PASS }}
48+
## deploy:
49+
## runs-on: ubuntu-latest
50+
## needs: build
51+
## permissions:
52+
## contents: read
53+
## packages: write
54+
## steps:
55+
## - uses: actions/checkout@v5
56+
## - run: sed -i 's|http://localhost:8080/|${{ secrets.TOMCAT_HOST }}|g' pom.xml
57+
## - name: Set up Maven Central Repository
58+
## uses: actions/setup-java@v5
59+
## with:
60+
## java-version: 21
61+
## distribution: 'temurin'
62+
## server-id: TomcatServer
63+
## server-username: MAVEN_USERNAME
64+
## server-password: MAVEN_PASSWORD
65+
## - name: Deploy package
66+
## run: mvn --batch-mode tomcat7:deploy
67+
## env:
68+
## MAVEN_USERNAME: ${{ secrets.TOMCAT_USER }}
69+
## MAVEN_PASSWORD: ${{ secrets.TOMCAT_PASS }}

0 commit comments

Comments
 (0)