test forgejo action bash
All checks were successful
Deploy workflow / deploy (pull_request) Successful in 33s
All checks were successful
Deploy workflow / deploy (pull_request) Successful in 33s
This commit is contained in:
parent
42d24874b2
commit
4e6033b784
1 changed files with 3 additions and 4 deletions
|
@ -18,10 +18,9 @@ jobs:
|
||||||
image: code.forgejo.org/oci/node:20-bookworm
|
image: code.forgejo.org/oci/node:20-bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: Set baseURL
|
- name: Set baseURL
|
||||||
shell: /usr/bin/bash
|
|
||||||
run: |
|
run: |
|
||||||
echo "WOWOWOWOWOWOW"
|
echo "Checking current branch."
|
||||||
>&2 echo "6de2fec7-1b8f-4514-96c1-3ca55f4a8fa1"
|
echo -n "https://dev.etoiledebethleem.fr" > /base_url.txt
|
||||||
if [[ "${{ env.github_ref_name }}" == "master" ]]; then
|
if [[ "${{ env.github_ref_name }}" == "master" ]]; then
|
||||||
echo "Using master config"
|
echo "Using master config"
|
||||||
echo -n "https://etoiledebethleem.fr" > /base_url.txt
|
echo -n "https://etoiledebethleem.fr" > /base_url.txt
|
||||||
|
@ -32,7 +31,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
ls /
|
ls /
|
||||||
cat /base_url.txt
|
cat /base_url.txt
|
||||||
- name: Install rsync
|
- name: Debug some vars
|
||||||
run: echo "${{ env.github_ref_name }}"
|
run: echo "${{ env.github_ref_name }}"
|
||||||
- name: Install rsync
|
- name: Install rsync
|
||||||
run: apt update && apt install -y rsync
|
run: apt update && apt install -y rsync
|
||||||
|
|
Loading…
Reference in a new issue