Here is my github action file: name: Deploy to Fly
on: push: branches: - "master" # Or "main"
jobs: deploy: name: Deploy with Wasp runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v4
# --- Start Debugging Steps --- - name: List files in root directory run: ls -la # This shows if the 'app' directory is present at the top level after checkout
- name: List files in app directory run: ls -la ./app # This shows the contents of the 'app' directory # Check if main.wasp and other expected files/folders (like src) are listed here # --- End Debugging Steps ---
- name: Deploy to Fly via Wasp uses: wasp-lang/deploy-action@main with: fly-token: ${{ secrets.FLY_TOKEN }} # node-version: "20.18.0" # Optional working-directory: ./app # Keep this as your project is in ./app
Getting this error: Couldn't find wasp project root - make sure you are running this command from a Wasp project.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.