Publish cloudflare tunnel #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copies README.md to chart and publishes chart to helm-charts repository. | |
# Requires: | |
# Repository secrets: | |
# - HELM_BOT_GH_TOKEN - token with push permission to helm-charts repository | |
name: Publish cloudflare tunnel | |
on: | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
repository: cloudflare/helm-charts | |
- name: Publish Helm chart | |
if: github.ref == 'refs/heads/master' | |
uses: stefanprodan/helm-gh-pages@master | |
with: | |
token: ${{ secrets.HELM_BOT_GH_TOKEN }} | |
charts_dir: charts | |
charts_url: https://kostiantyn-matsebora.github.io/helm-charts | |
owner: kostiantyn-matsebora | |
repository: helm-charts | |
branch: master |