Skip to content

Instantly share code, notes, and snippets.

@lior-amsalem
Created August 24, 2019 20:12
Show Gist options
  • Save lior-amsalem/b18ed69001e04a3eb8433cfed2460289 to your computer and use it in GitHub Desktop.
Save lior-amsalem/b18ed69001e04a3eb8433cfed2460289 to your computer and use it in GitHub Desktop.
Understanding "Persist to Workspace"
- persist_to_workspace:
# Must be an absolute path, or relative path from working_directory. This is a directory on the container which is
# taken to be the root directory of the workspace.
root: ~/app
# “Paths” Must be relative path from root
paths:
- node_modules # folder we want to keep for the next job
- packages/my_project/build # another folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment