Component not deploying

Hi all.

I’m trying to use the serverless website component to deploy a static site with cloudfront and TLS. I’ve added the example config and tried to deploy, but there are no website related tasks taking place in the output.

Its almost like the config is being ignored, like the component is not installed.

I’ve tried to follow the example exactly (https://github.com/serverless-components/website#3-configure), but I’m then required to add provider, etc

Once I do that, I still have the same issue.

Here’s my entire config:

org: redacted
app: test-website

service: my-website
provider:
  name: aws
  stage: dev
  region: eu-west-1

name: my-website
stage: dev

myWebsite:
  component: "@serverless/website"
  inputs:
    code:
      src: ./src
    region: eu-west-1
    bucketName: myBucketasdfadksjf
    domain: www.redacted.co.uk

I have a valid .env file in place
Here is the output of serverless --version. Can anyone help please?

Framework Core: 1.55.1
Plugin: 3.2.1
SDK: 2.1.2
Components Core: 1.1.2
Components CLI: 1.4.0
$ serverless deploy
Serverless: Packaging service...
Serverless: Safeguards Processing...
Serverless: Safeguards Results:
   Summary --------------------------------------------------

   passed - allowed-stages
   passed - allowed-regions
   passed - no-unsafe-wildcard-iam-permissions
   passed - no-secret-env-vars
   passed - allowed-runtimes
   warned - require-cfn-role
   passed - framework-version

   Details --------------------------------------------------

   1) Warned - no cfnRole set
      details: http://slss.io/sg-require-cfn-role
      Require the cfnRole option, which specifies a particular role for CloudFormation to assume while deploying.


Serverless: Safeguards Summary: 6 passed, 1 warnings, 0 errors
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Validating template...
Serverless: Updating Stack...
Service Information
service: my-website
stage: dev
region: eu-west-1
stack: my-website-dev
resources: 1
api keys:
  None
endpoints:
  None
functions:
  None
layers:
  None
Serverless: Removing old service artifacts from S3...
Serverless: Publishing service to the Serverless Dashboard...
Serverless: Successfully published your service to the Serverless Dashboard: https://dashboard.serverless.com/tenants/redacted/applications/test-website/services/my-website/stage/dev/region/eu-west-1