Skip to content

YAF-5286 try to fix package&publish&docs #23

YAF-5286 try to fix package&publish&docs

YAF-5286 try to fix package&publish&docs #23

Workflow file for this run

name: Deploy Workflow
run-name: ${{ github.actor }} has triggered a Deploy Workflow! 🚀
on:
push:
branches: [main]
jobs:
package-and-publish:
name: Package & Publish
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
contents: write
packages: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Run linter
run: helm lint yilu-common --set image.tag="test" --set serviceName="ci-test"
- name: Run chart-releaser
uses: helm/[email protected]
run: cp yilu-common/README.md docs/
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
config: cr.yaml
charts_dir: "."