Skip to content

Commit

Permalink
[MOD] gh action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnuttinck committed Jan 15, 2024
1 parent 33611e6 commit 2cf22ed
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
name: Helm Release

on:
workflow_dispatch:
push:
branches:
- main
workflow_run:
workflows:
- Lint and Test Charts
types:
- completed

jobs:
release:
permissions:
contents: write
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -33,6 +40,4 @@ jobs:
repository: helm-charts
branch: gh-pages
target_dir: plausible-analytics
dependencies: bitnami,https://charts.bitnami.com/bitnami
commit_username: alexnuttinck
commit_email: [email protected]
dependencies: bitnami,https://charts.bitnami.com/bitnami
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Lint and Test Charts

on: [pull_request, push]
on: [pull_request, push, workflow_dispatch]

jobs:
lint-test:
Expand Down
4 changes: 2 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ sources:
- https://github.com/imio/helm-plausible-analytics
icon: https://plausible.io/assets/images/icon/plausible_logo.compressed.png
maintainers:
- name: alexnuttinck
url: https://github.com/alexnuttinck
- name: IMIO
url: https://github.com/IMIO/
dependencies:
- name: postgresql
alias: postgresql
Expand Down

0 comments on commit 2cf22ed

Please sign in to comment.