chore(ci): update test workflow #574
Workflow file for this run
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: 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" |