Files
andromeda/.gitea/workflows/deploy.yaml
T
koningin_samira 4f6691cac0
Deploy to Unraid Share / copy-file (push) Successful in 9s
Added check for share
2026-04-19 22:04:29 +02:00

35 lines
839 B
YAML

name: Deploy to Unraid Share
on:
push:
branches:
- main
jobs:
copy-file:
runs-on: ubuntu-latest # Or your specific runner label
container:
volumes:
- /static:/static
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Copy File to Unraid Share
run: |
# Check if share exists
ls -la /static
ls -l
ls -l /
ls -l /static/
# Create the destination directory if it doesn't exist
mkdir -p /static/andromeda/css/
ls -l /static/andromeda/css/
# Copy your specific file
cp *.css /static/andromeda/css/
touch /static/andromeda/css/test.css
echo "File successfully copied to Unraid share via bind mount."