Skip to content

Commit

Permalink
fix: github actions remove gradle publication
Browse files Browse the repository at this point in the history
  • Loading branch information
TropicalShadow committed Jan 27, 2024
1 parent f5520e0 commit 42f711b
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
env:
DOCKER_BUILD_PLATFORMS: linux/amd64,linux/arm64/v8

- name: Publish Gradle snapshots
run: ./gradlew publish

release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -105,13 +103,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Import signing GPG key
id: gpg-signing-key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: Release with semantic-release
run: npx semantic-release
env:
Expand All @@ -130,39 +121,3 @@ jobs:
path: kube/helm/shulker-operator-*.tgz
if-no-files-found: error
retention-days: 1

update-helm-repository:
runs-on: ubuntu-latest
needs: [release]

permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: "gh-pages"
token: ${{ secrets.RELEASE_GH_PAT }}

- name: Install Helm
uses: azure/setup-helm@v3
with:
version: latest
token: ${{ secrets.GITHUB_TOKEN }}

- name: Download built Helm chart
uses: actions/download-artifact@v4
with:
name: helm-chart-archive
path: helm-charts

- name: Update Helm index
working-directory: helm-charts
run: helm repo index . --url https://shulker.jeremylvln.fr/helm-charts/

- name: Push to GitHub Pages
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore: update Helm repository"
file_pattern: "helm-charts/*"

0 comments on commit 42f711b

Please sign in to comment.