fix(ui): wrong acl on KSQL (#1996) #452
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
name: Docs | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
check: | |
name: Docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Setup | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'npm' | |
cache-dependency-path: docs/package-lock.json | |
# Build | |
- name: Build | |
working-directory: docs | |
run: | | |
npm install | |
node_modules/.bin/githubcontrib --repo akhq --owner tchiotludo --format html --sortOrder desc > .vuepress/public/contributors.html | |
npm run build | |
echo "akhq.io" > .vuepress/dist/CNAME | |
# Copy for helm | |
- name: Add some files | |
run: | | |
cp LICENSE helm/akhq/LICENSE | |
cp README.md helm/akhq/README.md | |
# Helm charts | |
- uses: J12934/helm-gh-pages-action@master | |
with: | |
access-token: ${{ secrets.GITHUB_PERSONAL_TOKEN }} | |
charts-folder: "helm" | |
deploy-branch: helm | |
# Clone helm charts | |
- name: Clone helm charts | |
uses: actions/checkout@v4 | |
with: | |
ref: helm | |
path: tmp-helm | |
# Add helm charts | |
- name: Add helm charts | |
run: | | |
rm -rf tmp-helm/.git | |
cp -R tmp-helm/* docs/.vuepress/dist/ | |
# Deploy | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
personal_token: ${{ secrets.GITHUB_PERSONAL_TOKEN }} | |
publish_dir: docs/.vuepress/dist/ | |
# Slack | |
- name: Slack notification | |
uses: 8398a7/action-slack@v3 | |
if: always() | |
with: | |
status: ${{ job.status }} | |
username: Github Actions | |
icon_emoji: ':github-actions:' | |
channel: 'C03H9CEBGS2' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |