mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-27 15:16:53 +09:00
Allow manual triggering of the CLI R2 workflow to rebuild the cloudflare-template artifact. This is needed for the republish script to rebuild main.tar.zst when republishing accidentally unpublished sites. Changes: - Add workflow_dispatch trigger with optional ref input (defaults to 'main') - Upload artifact as main.tar.zst when building main branch - Fix checks job to use correct artifact path for workflow_dispatch - Skip delete-github-deployments for workflow_dispatch (no branch to clean up) - Remove local mounts from devcontainer.json
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node-postgres
|
|
{
|
|
"name": "Node.js & PostgreSQL",
|
|
"dockerComposeFile": "docker-compose.yml",
|
|
"service": "app",
|
|
"workspaceFolder": "/workspaces/webstudio",
|
|
"features": {
|
|
"ghcr.io/robbert229/devcontainer-features/postgresql-client:1": {
|
|
"version": "15"
|
|
}
|
|
},
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
// "features": {},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// This can be used to network with other containers or with the host.
|
|
// "forwardPorts": [3000, 5432],
|
|
"forwardPorts": [5173],
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
|
|
"postCreateCommand": ".devcontainer/postinstall.sh",
|
|
// "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"esbenp.prettier-vscode",
|
|
"redhat.vscode-yaml",
|
|
"me-dutour-mathieu.vscode-github-actions",
|
|
"eamodio.gitlens",
|
|
"bradymholt.pgformatter",
|
|
"YoavBls.pretty-ts-errors",
|
|
"typescriptteam.native-preview"
|
|
]
|
|
}
|
|
}
|
|
|
|
// Configure tool-specific properties.
|
|
// "customizations": {},
|
|
|
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
// "remoteUser": "root"
|
|
}
|