OSDN Git Service

Regular updates
authorErik <erikgronwal@users.osdn.me>
Fri, 18 Dec 2020 14:55:06 +0000 (23:55 +0900)
committerErik <erikgronwal@users.osdn.me>
Fri, 18 Dec 2020 14:55:06 +0000 (23:55 +0900)
.gitpod.yml

index 8115512..150a4ce 100644 (file)
@@ -1,10 +1,15 @@
 image: gitpod/workspace-full
 
+ports:
+  - port: 4001
+    onOpen: open-preview
+
+tasks:
+  - init: yarn install && bundle install
+    command: env PORT=4001 yarn run dev
+
 github:
-  # Prebuild the docker image for gitpod - https://www.gitpod.io/docs/46_prebuilds/
+  # Prebuild the docker image for gitpod - https://www.gitpod.io/docs/prebuilds/
   prebuilds:
     # enable for the master/default branch
     master: true
-
-tasks:
-  - init: bundle install
\ No newline at end of file