Skip to content

[OOB] Upstream Publish for 'agent-operator' (Run ID: 14577853838) #126

[OOB] Upstream Publish for 'agent-operator' (Run ID: 14577853838)

[OOB] Upstream Publish for 'agent-operator' (Run ID: 14577853838) #126

Workflow file for this run

name: Pipeline
on:
pull_request:
push:
branches:
- master
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Helm
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
- name: Setup Node
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
with:
node-version: lts/*
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Stage Charts
run: |
./build.ps1 -Output ./dist -ChartRepositoryUrl "https://contrastsecurity.dev/helm-charts"
shell: pwsh
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./dist
publish:
needs: build
if: ${{ github.ref == 'refs/heads/master' }}
environment:
name: github-pages
permissions:
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5