From 6c9086cc78a43cafadf326afa2b714dd788fbd0d Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Wed, 8 Dec 2021 10:58:17 +0100 Subject: [PATCH] docker,git: ignore more files --- .dockerignore | 12 ++++++++++-- .github/workflows/rust.yml | 5 ++--- .gitignore | 6 +++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.dockerignore b/.dockerignore index 039358c..1801971 100644 --- a/.dockerignore +++ b/.dockerignore @@ -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 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e848017..03342e6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 diff --git a/.gitignore b/.gitignore index 6b40292..c18c45a 100644 --- a/.gitignore +++ b/.gitignore @@ -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