From 6fc03e22ea2214512d2c6098ca34442d61a13560 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sun, 19 Apr 2026 02:13:10 +0300 Subject: ci: fix apt-get update and shell ternary robustness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated by robots (https://vyos.io) --- .github/workflows/pr-check.yml | 2 +- amplify.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 03a1c54..90dafff 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Install cmark - run: sudo apt-get install -y cmark + run: sudo apt-get update && sudo apt-get install -y cmark - name: Install Dart Sass run: npm install -g sass@1.32.8 diff --git a/amplify.yml b/amplify.yml index 8900638..5c0053c 100644 --- a/amplify.yml +++ b/amplify.yml @@ -16,7 +16,7 @@ applications: build: commands: - source .venv/bin/activate - - '[ "$AWS_BRANCH" = "production" ] && export SOUPAULT_OPTS="--profile live" || export SOUPAULT_OPTS="--profile staging"' + - 'if [ "$AWS_BRANCH" = "production" ]; then export SOUPAULT_OPTS="--profile live"; else export SOUPAULT_OPTS="--profile staging"; fi' - make all artifacts: baseDirectory: /build -- cgit v1.2.3