Skip to main content

.stkignore

The .stkignore file contains a list of files that are ignored when publishing your project to StackSpot. Unlike the .gitignore file, .stkignore lists files that should not be published to StackSpot but must still be versioned by Git.

The file is generated within the respective folders when executing the following content creation commands:

How to fill in the .stkignore file

To ignore files, you must fill it in the same way as .gitignore, for example:

  • Dependency caches, such as the contents of /node_modules or /packages.
  • Compiled code, such as .o, .pyc, and .class files.
  • Build output directories, such as /bin, /out, or /target.
  • Files generated during runtime, such as .log, .lock, or .tmp.
  • Hidden system files, such as .DS_Store or Thumbs.db.
  • Personal IDE configuration files, such as .idea/workspace.xml.
warning

Files listed in .stkignore will not be published to StackSpot, but they will still be added by Git commits if they are not ignored in .gitignore.

Fill in the folder or file path relative to the root folder of your Plugin or Action code, for example. You can add comments using the # character:

.stkignore
# Ignore all files in the folders
/log-tests
/dev

# Ignore files
*.env
backup.env