Skip to content

Commit c1cc5e1

Browse files
committed
use https
1 parent ae3baf9 commit c1cc5e1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
run: |
3939
git config user.name "GitHub Actions"
4040
git config user.email "actions@github.com"
41+
# Use HTTPS with GITHUB_TOKEN for authentication
42+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
4143
4244
- name: Maven Release Prepare
4345
env:
@@ -58,5 +60,5 @@ jobs:
5860
run: |
5961
mvn --batch-mode release:perform \
6062
-DaltDeploymentRepository=openmrs-repo-modules::default::https://openmrs.jfrog.io/artifactory/modules/ \
61-
-Dusername=ARTIFACTORY_USERNAME \
62-
-Dpassword=ARTIFACTORY_PASSWORD
63+
-Dusername=${{ secrets.ARTIFACTORY_USERNAME }} \
64+
-Dpassword=${{ secrets.ARTIFACTORY_PASSWORD }}

0 commit comments

Comments
 (0)