Skip to content

Commit

Permalink
Split default gitpod view to include all tasks (go-gitea#22555)
Browse files Browse the repository at this point in the history
It was showing only the `docs` process

Signed-off-by: Yarden Shoham <[email protected]>
  • Loading branch information
yardenshoham authored Jan 20, 2023
1 parent 46d0244 commit f417157
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ tasks:
command: |
gp sync-done setup
exit 0
- name: Run frontend
command: |
gp sync-await setup
make watch-frontend
- name: Run backend
command: |
gp sync-await setup
Expand All @@ -19,9 +15,15 @@ tasks:
echo -e "\n[database]\nDB_TYPE = sqlite3\nPATH = $GITPOD_REPO_ROOT/data/gitea.db" >> custom/conf/app.ini
export TAGS="sqlite sqlite_unlock_notify"
make watch-backend
- name: Run frontend
command: |
gp sync-await setup
make watch-frontend
openMode: split-right
- name: Run docs
before: sudo bash -c "$(grep 'https://github.com/gohugoio/hugo/releases/download' Makefile | tr -d '\')" # install hugo
command: cd docs && make clean update && hugo server -D -F --baseUrl $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0
openMode: split-right

vscode:
extensions:
Expand Down

0 comments on commit f417157

Please sign in to comment.