Skip to content

chore(ci): update test workflow #582

chore(ci): update test workflow

chore(ci): update test workflow #582

Workflow file for this run

name: Review website
on:
pull_request:
types: [labeled, synchronize]
workflow_dispatch:
env:
WERF_REPO: "ghcr.io/${{ github.repository_owner }}/trdl"
jobs:
converge:
name: Converge to Review
runs-on: ubuntu-latest-4-cores
if: github.event.label.name == 'review docs' || contains( github.event.pull_request.labels.*.name, 'review docs' )
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Print review URL
env:
ENV_URL: "review-${{ github.event.number }}.trdl.dev.flant.com"
run: |
echo "https://${ENV_URL}"
- name: Converge
uses: werf/actions/[email protected]
with:
env: review-${{ github.event.number }}
kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }}
env:
WERF_DIR: "docs"