Skip to content

The deploy action isn't resolving the entrpoint path correctly #363

@justinmchase

Description

@justinmchase

My workflow is pretty simple:

name: Deploy
on:
  workflow_dispatch:
  release:
    types: [published]

jobs:
  deploy:
    name: Deploy
    runs-on: ubuntu-latest

    permissions:
      id-token: write # Needed for auth with Deno Deploy
      contents: read # Needed to clone the repository

    steps:
      - name: Clone repository
        uses: actions/checkout@v4

      - name: Install Deno
        uses: denoland/setup-deno@v2
        with:
          deno-version: v2.x

      - name: Upload to Deno Deploy
        uses: denoland/deployctl@v1
        with:
          project: example
          entrypoint: main.ts

But it errors saying it can't find file://src/main.ts

Image

My main file is in the root directory...

Image

What's going on?

I've tried setting root: . but it had no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions