Skip to content

Commit

Permalink
updated new-settings.xml file
Browse files Browse the repository at this point in the history
  • Loading branch information
kcs-bandihareesh committed Oct 3, 2024
1 parent f5e5970 commit 2facc02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 21 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/vertx-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ jobs:
run: |
echo "${{ secrets.ARTIFACT_REGISTRY_KEY }}" | base64 -d > $HOME/gcp_key.json
gcloud auth activate-service-account --key-file=$HOME/gcp_key.json
export GCP_ACCESS_TOKEN=$(gcloud auth print-access-token)
env:
GCP_ACCESS_TOKEN: ${{ secrets.GCP_ACCESS_TOKEN }}
ARTIFACT_REGISTRY_KEY: ${{ secrets.ARTIFACT_REGISTRY_KEY }}

- name: Deploy Snapshots
run: |
Expand All @@ -79,4 +78,4 @@ jobs:
-Dmaven.wagon.http.timeout=1200000 \
--batch-mode -e -DskipTests=true deploy -X
env:
GCP_ACCESS_TOKEN: ${{ secrets.GCP_ACCESS_TOKEN }}
ARTIFACT_REGISTRY_KEY: ${{ secrets.ARTIFACT_REGISTRY_KEY }}
18 changes: 0 additions & 18 deletions travis/new-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,6 @@
<servers>
<server>
<id>artifact-registry</id>
<configuration>
<httpConfiguration>
<get>
<usePreemptive>true</usePreemptive>
</get>
<head>
<usePreemptive>true</usePreemptive>
</head>
<put>
<params>
<property>
<name>http.protocol.expect-continue</name>
<value>false</value>
</property>
</params>
</put>
</httpConfiguration>
</configuration>
<username>_json_key_base64</username>
<password>${env.ARTIFACT_REGISTRY_KEY}</password>
</server>
Expand Down

0 comments on commit 2facc02

Please sign in to comment.