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 .dockerignore
# Don't track docs # Don't track docs
README.md *.md
LICENSE LICENSE
docs/* docs/*
example_configs/* 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 # Various config files that shouldn't be tracked
.env
lldap_config.toml lldap_config.toml
server_key server_key
users.db* users.db*
screenshot.png screenshot.png
recipe.json recipe.json
*.md

View File

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

6
.gitignore vendored
View File

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