Skip to content

Commit

Permalink
Update cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
melaasar authored Feb 22, 2024
1 parent f8d131c commit b654350
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ jobs:
distribution: 'temurin'
cache: maven

- name: Build repository
run: mvn verify
- name: Setup Git User
run: |
git config --global user.email "melaasar@gmail.com"
git config --global user.name "Maged Elaasar"
- name: Publish repository
run: |
git config user.name "Maged Elaasar"
git config user.email "melaasar@gmail.com"
mvn deploy -Prelease-composite -Dgithub-update-repo=https://x-access-token:${ACTIONS_TOKEN}@github.com/opencaesar/oml-p2
run: mvn deploy -Prelease-composite -Dgithub-update-repo=https://x-access-token:${ACTIONS_TOKEN}@github.com/opencaesar/oml-p2
env:
ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}

Expand Down

0 comments on commit b654350

Please sign in to comment.