add sdr-slut
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 0s

This commit is contained in:
hogweed1
2025-11-16 20:08:26 +10:00
parent 219d3c2dd7
commit 690e248bc6
2 changed files with 3 additions and 23 deletions

View File

@@ -10,28 +10,7 @@ jobs:
# shell: bash # shell: bash
steps: steps:
- name: Manual repository checkout using git and bash - name: common-setup-just-created
run: |
# The runner provides GITHUB_WORKSPACE environment variable
cd $GITHUB_WORKSPACE
# Use Gitea's built-in token to authenticate the clone operation
# GITHUB_SERVER_URL and GITHUB_REPOSITORY are standard environment variables
REPO_URL="https://${{ gitea.token }}@${GITHUB_SERVER_URL#*://}/${GITHUB_REPOSITORY}.git"
echo "Cloning repository..."
git clone --depth=1 $REPO_URL .
# Ensure we are on the correct commit/SHA for PRs or Pushes
if [ "${{ github.event_name }}" = "pull_request" ]; then
git checkout ${{ github.event.pull_request.head.sha }}
else
git checkout ${{ github.sha }}
fi
# Explicitly set shell to bash for clarity
shell: bash
- name: Run your actual bash code here
run: | run: |
echo "Current working directory:" echo "Current working directory:"
pwd pwd

View File

@@ -6,6 +6,7 @@ all: # keys must be unique, i.e. only one 'hosts' per group
# #printing-slut.guaranteedstruggle.host: # #printing-slut.guaranteedstruggle.host:
# harbor.guaranteedstruggle.host: # harbor.guaranteedstruggle.host:
sdr-slut.guaranteedstruggle.host:
#video-slut.guaranteedstruggle.host: #video-slut.guaranteedstruggle.host:
#orangepirv2.guaranteedstruggle.host: #orangepirv2.guaranteedstruggle.host:
#192.168.0.32: #192.168.0.32: