You can’t import WASM dynamically, it must be bundled with your Worker
You can’t import WASM dynamically, it must be bundled with your Worker
source:{} I want to know what I need to set for config to associate my pages project with my gitlab.com project"git_repo": {
gitlab_projectgroup1/group2/reponame


/my-endpoint , If I need to use one(or many) API call ( fetch or any sdk ( aws / gcp ..) ) , is it better to trigger a function and wait for the result or I can chain the API call directly from the worker ? curl -s -X POST "$CF_API" \
-H "$CF_AUTH_HEADER" \
-H "Content-Type: application/json" \
--data-binary @- << EOF
{
"name": "$PROJECT_NAME",
"production_branch": "$BRANCH_NAME",
"build_config": {
"build_command": "$BUILD_COMMAND",
"destination_dir": "$BUILD_OUTPUT"
},
"source": {
"type": "git",
"config": {
"git_repo": {
"type": "gitlab",
"owner": "my-associated-owne",
"repo_name": "${CI_PROJECT_NAME}",
"gitlab_project": "${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}"
},
"production_branch": "$BRANCH_NAME"
}
}
}{
"result": null,
"success": false,
"errors": [
{
"code": 8000005,
"message": "Missing project source configuration. Specify a GitHub/GitLab repository owner and repository name."
}
],
"messages": []
} "source": {
"type": "git",
"config": {
"type": "gitlab",
"owner": "m",
"repo_name": "${CI_PROJECT_NAME}",
"gitlab_project": "${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}"
}, echo "🚀 Creating Cloudflare Pages project: $PROJECT_NAME"
curl -s -X POST "$CF_API" \
-H "$CF_AUTH_HEADER" \
-H "Content-Type: application/json" \
--data-binary @- << EOF
{
"name": "$PROJECT_NAME",
"production_branch": "$BRANCH_NAME",
"build_config": {
"build_command": "$BUILD_COMMAND",
"destination_dir": "$BUILD_OUTPUT"
},
"source": {
"type": "git",
"config": {
"type": "gitlab",
"owner": "myowner",
"repo_name": "${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}",
},
"production_branch": "$BRANCH_NAME"
}
}/my-endpoint