27 lines
701 B
YAML
27 lines
701 B
YAML
name: Deploy to Unraid Share
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
copy-file:
|
|
runs-on: ubuntu-latest # Or your specific runner label
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Copy File to Unraid Share
|
|
run: |
|
|
# Create the destination directory if it doesn't exist
|
|
mkdir -p /static/andromeda/css/
|
|
ls -l
|
|
ls -l /
|
|
ls -l /static/
|
|
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." |