Skip to content

Upload .env

Upload .env #6

Workflow file for this run

name: Upload .env
on:
workflow_dispatch: # This allows manual run from GitHub
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Show contents of root folder (debug step)
run: |
echo "Files in current directory:"
ls -al
- name: Check if .env exists
run: |
if [ ! -f .env ]; then
echo "❌ ERROR: .env not found at root!"
exit 1
else
echo "✅ .env found."
fi
- name: Upload .env as artifact
uses: actions/upload-artifact@v4
with:
name: envfile
path: .env