docker,git: ignore more files

This commit is contained in:
Valentin Tolmer 2021-12-08 10:58:17 +01:00 committed by nitnelave
parent 110b7c7d5b
commit 6c9086cc78
3 changed files with 15 additions and 8 deletions

View File

@ -14,15 +14,23 @@ Dockerfile
.dockerignore
# Don't track docs
README.md
*.md
LICENSE
docs/*
example_configs/*
# Output of `npm install rollup`
node_modules/*
package-lock.json
package.json
# Pre-build binaries
*.tar.gz
# Various config files that shouldn't be tracked
.env
lldap_config.toml
server_key
users.db*
screenshot.png
recipe.json
*.md

View File

@ -20,11 +20,10 @@ jobs:
- id: skip_check
uses: fkirc/skip-duplicate-actions@master
with:
# All of these options are optional, so you can remove them if you are happy with the defaults
concurrent_skipping: 'never'
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md", "**/docs/**"]'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'
paths_ignore: '["**/*.md", "**/docs/**", "example_configs/**", "*.sh"]'
do_not_skip: '["workflow_dispatch", "schedule"]'
test:
name: cargo test
needs: pre_job

6
.gitignore vendored
View File

@ -1,10 +1,7 @@
# Generated by Cargo
# will have compiled files and executables
/target
/serve/target/
/app/target
/app/pkg
/auth/target
# These are backup files generated by rustfmt
**/*.rs.bk
@ -22,6 +19,9 @@ package.json
# Server private key
server_key
# Pre-build binaries
*.tar.gz
# Misc
.env
recipe.json