Skip to content

chore(kargo): new kargo chart release #17

chore(kargo): new kargo chart release

chore(kargo): new kargo chart release #17

Workflow file for this run

name: ci
on: [ push, workflow_dispatch ]
jobs:
build_containers:
name: Build containers
if: ${{ contains(github.event.head_commit.message, '[build ') }}
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Build container
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: bash scripts/build_container.sh "${{ github.event.head_commit.message }}"
build_docs:
name: Build docs
if: ${{ contains(github.event.head_commit.message, 'doc') }}
runs-on: ubuntu-22.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- name: Build docs
run: bash scripts/build_docs.sh
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/.vuepress/dist
deploy_docs:
name: Deploy docs
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build_docs
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4