Stk ignore
The .stkignore
file receives a list of files that are ignored when publishing your project to StackSpot. Unlike the .gitignore
file, .stkignore
ignores files that should not be published on StackSpot but must be versioned by Git.
The file is generated within the respective folders when executing the following create content commands:
How to fill in the .stkignore
file
To ignore the files, you must fill them 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 the execution period, such as
.log
,.lock
or.tmp
. - Hidden system files such as
.DS_Store
orThumbs.db
. - Personal IDE configuration files such as
.idea/workspace.xml
.
warning
Files listed in .stkignore
will not be published to StackSpot but will be added by Git commits normally if not ignored in .gitignore
.
Fill in the folder or file path concerning 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