From 4e6033b7843856e5e7986fb314d03b379f2505c7 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Mon, 23 Dec 2024 00:01:39 +0100 Subject: [PATCH] test forgejo action bash --- .forgejo/workflows/hugo.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/hugo.yaml b/.forgejo/workflows/hugo.yaml index 7608743..b5f7ffd 100644 --- a/.forgejo/workflows/hugo.yaml +++ b/.forgejo/workflows/hugo.yaml @@ -18,10 +18,9 @@ jobs: image: code.forgejo.org/oci/node:20-bookworm steps: - name: Set baseURL - shell: /usr/bin/bash run: | - echo "WOWOWOWOWOWOW" - >&2 echo "6de2fec7-1b8f-4514-96c1-3ca55f4a8fa1" + echo "Checking current branch." + echo -n "https://dev.etoiledebethleem.fr" > /base_url.txt if [[ "${{ env.github_ref_name }}" == "master" ]]; then echo "Using master config" echo -n "https://etoiledebethleem.fr" > /base_url.txt @@ -32,7 +31,7 @@ jobs: fi ls / cat /base_url.txt - - name: Install rsync + - name: Debug some vars run: echo "${{ env.github_ref_name }}" - name: Install rsync run: apt update && apt install -y rsync