yarn
# or
npm iParameters for deployment
- --channel is the Content Chef's publishing channel you wish to map
- --host is the rest endpoint base url
- --S3Filename is the name used for your generated sitemap.
- --spaceId is the Content Chef's space id you wish to map
- --websiteBaseUrl is the website base url (e.g. https://my-website.com/)
sls deploy --channel web --host "apihost" --publishingStatus staging|live --spaceId defaultSpace --websiteBaseUrl "hostname" --S3Filename "test-sitemap.xml"- channel is the Content Chef's publishing channel you wish to map
- host is the rest endpoint base url
- publishingStatus is the content publishing status (choose
stagingorlive) - S3Filename is the name used for your generated sitemap.
- spaceId is the Content Chef's space id you wish to map
- websiteBaseUrl is the website base url (e.g. https://my-website.com/)
# copy this command
apiKey=qwe channel=web host="https://m1fca4b1p8.execute-api.eu-central-1.amazonaws.com/test/" publishingStatus=staging spaceId=defaultSpace websiteBaseUrl="https://customer.com/" sls invoke local --function generate-sitemap