Skip to content

Commit

Permalink
feat: publish charts (#43)
Browse files Browse the repository at this point in the history
* chore: move chart

* chore: add chart publish action

* fix: env vars

* fix: env vars, take 2

* chore: test

* chore: test, take 2

* chore: test, take 3

* chore: test, take 4

* chore: test, take 5

* chore: test, take 6

* chore: test, take 7

* chore: test, take 8

* chore: test, take 9

* chore: test, take 10

* chore: test, take 11

* chore: test, take 12

* chore: test, take 13

* chore: test, take 14

* chore: test, take 15

* chore: test, take 16

* chore: test, take 17

* chore: test, take 18

* chore: trigger ci

* chore: test

* chore: test, take 2

* chore: test, take 3

* chore: test, take 4

* chore: trigger ci

* chore: test

* feat: add gh-pages update

* chore: trigger ci

* docs: update

* chore: update

* chore: rename files
  • Loading branch information
agrrh authored Dec 15, 2023
1 parent 8588b5c commit 9c5a914
Show file tree
Hide file tree
Showing 21 changed files with 78 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
46 changes: 46 additions & 0 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---

name: Deploy static content to Pages

on:
push:
branches:
- gh-pages

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
30 changes: 30 additions & 0 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---

name: helm chart

on:
push:
branches:
- master
paths:
- "charts/pagetron/**"

jobs:
release:
name: Release Chart

runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Publish Helm charts
uses: stefanprodan/[email protected]
with:
token: ${{ secrets.CR_TOKEN }}
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,9 @@ You must have Kubernetes cluster to be up and running to deploy this application
At the moment, installation is as simple as:

```
git clone https://github.com/agrrh/pagetron.git
helm repo add pagetron https://agrrh.github.io/pagetron/
helm install pagetron \
pagetron/deploy/helm/pagetron \
helm install my-status-page pagetron/pagetron \
--upgrade \
--namespace pagetron \
--values values.yaml
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9c5a914

Please sign in to comment.