mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-09 04:27:47 +08:00
e4d35ad012
also fixed failed ci
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
tasks:
|
|
- init: yarn install
|
|
command: yarn dev --config webpack.gitpod.config.ts
|
|
- init: composer install
|
|
command: |
|
|
cp .env.example .env
|
|
touch storage/database.db
|
|
sed 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/' -i .env
|
|
sed 's/DB_DATABASE=blessingskin/DB_DATABASE=\/workspace\/blessing-skin-server\/storage\/database\.db/' -i .env
|
|
php artisan key:generate
|
|
php artisan serve --host=0.0.0.0
|
|
- command: gp await-port 8080 && gp preview $(gp url 8000)
|
|
|
|
github:
|
|
prebuilds:
|
|
# enable for the master/default branch (defaults to true)
|
|
master: true
|
|
# enable for all branches in this repo (defaults to false)
|
|
branches: false
|
|
# enable for pull requests coming from this repo (defaults to true)
|
|
pullRequests: true
|
|
# add a check to pull requests (defaults to true)
|
|
addCheck: true
|
|
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
|
|
addComment: false
|
|
|
|
vscode:
|
|
extensions:
|
|
- "editorconfig.editorconfig"
|
|
- "eamodio.gitlens"
|
|
- "bmewburn.vscode-intelephense-client"
|
|
- "esbenp.prettier-vscode"
|
|
- "jpoissonnier.vscode-styled-components"
|
|
- "mblode.twig-language-2"
|
|
- "felixfbecker.php-debug"
|
|
|
|
ports:
|
|
- port: 8080
|
|
visibility: public
|