Skip to content

Commit

Permalink
disable auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
itboy87 committed Nov 23, 2023
1 parent cf29340 commit 97cee3c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,21 +62,21 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Write secrets to local.properties
if: ${{ github.event_name != 'pull_request' }}
run: |
echo mavenCentralUsername="${SONATYPE_USERNAME}" >> "local.properties"
echo mavenCentralUsername="${SONATYPE_PASSWORD}" >> "local.properties"
echo gpgKeyPassword="${GPG_KEY_PASSWORD}" >> "local.properties"
echo gpgKeySecret="${GPG_KEY_SECRET}" >> "local.properties"
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
GPG_KEY_SECRET: ${{ secrets.GPG_KEY_SECRET }}
# - name: Write secrets to local.properties
# if: ${{ github.event_name != 'pull_request' }}
# run: |
# echo mavenCentralUsername="${SONATYPE_USERNAME}" >> "local.properties"
# echo mavenCentralUsername="${SONATYPE_PASSWORD}" >> "local.properties"
# echo gpgKeyPassword="${GPG_KEY_PASSWORD}" >> "local.properties"
# echo gpgKeySecret="${GPG_KEY_SECRET}" >> "local.properties"
# env:
# SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
# SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
# GPG_KEY_PASSWORD: ${{ secrets.GPG_KEY_PASSWORD }}
# GPG_KEY_SECRET: ${{ secrets.GPG_KEY_SECRET }}

- name: Release to sonatype
run: ./gradlew publishAllPublicationsToMavenRepository
# - name: Release to sonatype
# run: ./gradlew publishAllPublicationsToMavenRepository

- name: Generate docs with dokka
run: ./gradlew dokkaHtmlMultiModule
Expand Down

0 comments on commit 97cee3c

Please sign in to comment.