Skip to content

Commit

Permalink
fix(ci): im still trying
Browse files Browse the repository at this point in the history
  • Loading branch information
MAXOUXAX committed Sep 10, 2023
1 parent 2db936b commit 33a54bf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

jobs:
build:
deploy:

runs-on: ubuntu-latest
permissions:
Expand All @@ -30,5 +30,4 @@ jobs:
run: mvn deploy -s $GITHUB_WORKSPACE/.github/workflows/maven-settings.xml -B
env:
USER_NAME: ${{ secrets.USER_NAME }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
31 changes: 15 additions & 16 deletions .github/workflows/maven-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,34 +35,33 @@
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>github-raymond</id>
<url>https://maven.pkg.github.com/maxouxax/raymond</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
</repositories>
</profile>
</profiles>

<servers>
<server>
<id>github-supervisor</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>Bearer ${env.ACCESS_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
<username>${env.USER_NAME}</username>
<password>${env.ACCESS_TOKEN}</password>
</server>
<server>
<id>github-multi4j</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<value>Bearer ${env.ACCESS_TOKEN}</value>
</property>
</httpHeaders>
</configuration>
<username>${env.USER_NAME}</username>
<password>${env.ACCESS_TOKEN}</password>
</server>
<server>
<id>github-raymond</id>
<username>${env.USER_NAME}</username>
<password>${env.ACCESS_TOKEN}</password>
</server>
Expand Down

0 comments on commit 33a54bf

Please sign in to comment.