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

This commit is contained in:
Matthieu Bessat 2024-12-23 00:02:28 +01:00
parent 4e6033b784
commit 6ed4bebdd6

View file

@ -17,7 +17,10 @@ jobs:
container: container:
image: code.forgejo.org/oci/node:20-bookworm image: code.forgejo.org/oci/node:20-bookworm
steps: steps:
- name: Install rsync and bash
run: apt update && apt install -y rsync bash
- name: Set baseURL - name: Set baseURL
shell: /usr/bin/bash
run: | run: |
echo "Checking current branch." echo "Checking current branch."
echo -n "https://dev.etoiledebethleem.fr" > /base_url.txt echo -n "https://dev.etoiledebethleem.fr" > /base_url.txt
@ -31,10 +34,6 @@ jobs:
fi fi
ls / ls /
cat /base_url.txt cat /base_url.txt
- name: Debug some vars
run: echo "${{ env.github_ref_name }}"
- name: Install rsync
run: apt update && apt install -y rsync
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true