digitalocean / digitalocean/doctl

Serverless triggers are not being deployed

Open
#1,474 6 comments 3 reactions 0 assignees View on GitHub
bug do-api
Dominant language
Go
Stars
3.4k
Forks
496
Avg merge
1d 2h
Merged PRs (30d)
31

Description

**Describe the Issue:**

Hi! I'm trying to use doctl to deploy a serverless function with a cron trigger. When I run the `doctl serverless deploy` command my function is deployed but the trigger is not. I do not see a section in my console output for the trigger.

**Environment:**

- doctl version: `1.101.0-release`
- OS: Ubuntu
- Installation method: Snap

**Additional Details:**

Adding a `trace` flag provides no additional output. My project file looks like this:

```yaml
packages:
- name: jobs
shared: false
functions:
- name: test
runtime: go:default
web: false
triggers:
- name: cron-trigger
sourceType: scheduler
sourceDetails:
cron: "0 12 * * *"
withBody: {}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.