test forgejo action bash
All checks were successful
Deploy workflow / deploy (pull_request) Successful in 33s

This commit is contained in:
Matthieu Bessat 2024-12-23 00:01:39 +01:00
parent 42d24874b2
commit 4e6033b784

View file

@ -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