Skip to content

gitpod-io/template-dynamic-workspace-location-and-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynamic workspace root and tasks based on subdirectory context

Dynamically change VSCode workspaceLocation based on context.

Browse to one of the subdirectories on this repo and open a workspace from there. Or you can also click on a button below!

  • docs
  • examples
  • practice

Details

A .gitpod.yml task is used to process $GITPOD_WORKSPACE_CONTEXT_URL variable. Later code -r command is used if a subdirectory was found on the CONTEXT_URL.

We can also run tasks conditionally based on the subdirectory context. (see the 2nd task in .gitpod.yml for example)

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published