aboutsummaryrefslogtreecommitdiffstats
path: root/.gitpod.yml
diff options
context:
space:
mode:
authorYarden Shoham <hrsi88@gmail.com>2023-03-24 21:42:31 +0300
committerGitHub <noreply@github.com>2023-03-24 14:42:31 -0400
commitaa3c67362182d4c11dffa44ab355b5fea2ab78f9 (patch)
treeb75c17873edeac1127741cde2941543961623cd7 /.gitpod.yml
parentd673a6f832aa6d796b86659be76cc890d72e4167 (diff)
downloadgitea-aa3c67362182d4c11dffa44ab355b5fea2ab78f9.tar.gz
gitea-aa3c67362182d4c11dffa44ab355b5fea2ab78f9.zip
Add `deps-docs` command to makefile (#23686)
Refactored `deps-docs` out of `docs` because #23629 broke Gitpod's docs setup (which grepped to get the hugo install command). Now `make deps` really installs everything to develop (includes `docs`).
Diffstat (limited to '.gitpod.yml')
-rw-r--r--.gitpod.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index 506c620458..39f62435de 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -24,8 +24,11 @@ tasks:
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
+ command: |
+ gp sync-await setup
+ 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: