From adac43d27424b468523582e5b9051d3a6bc601dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Benavente?= Date: Thu, 11 Jan 2024 20:49:28 -0300 Subject: [PATCH] Add docs/ directory to excluded files in deployment --- .github/workflows/deploy.yml | 1 + Rakefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1b96430..51bd167 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,6 +42,7 @@ jobs: **/.git*/** **/.bundle* **/.bundle*/** + docs/** rva_cars/** rva_lego_tracks/** rva_tracks/** diff --git a/Rakefile b/Rakefile index 0272211..84ee99c 100644 --- a/Rakefile +++ b/Rakefile @@ -65,7 +65,7 @@ task :package_cars do puts "Packaging into #{zipfile_name} ..." - exclude = %w(. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md packages.json carboxes) + exclude = %w(. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md packages.json carboxes docs) zf = ZipFileGenerator.new('./rva_cars', zipfile_name, exclude) zf.write @@ -79,7 +79,7 @@ task :package_tracks do puts "Packaging into #{zipfile_name} ..." - exclude = %w(. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md packages.json) + exclude = %w(. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md packages.json docs) zf = ZipFileGenerator.new('./rva_tracks', zipfile_name, exclude) zf.write @@ -93,7 +93,7 @@ task :package_lego_tracks do puts "Packaging into #{zipfile_name} ..." - exclude = %w(. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md packages.json) + exclude = %w(. .. Gemfile Gemfile.lock Rakefile .git .gitignore .idea data.rb README.md packages.json docs) zf = ZipFileGenerator.new('./rva_lego_tracks', zipfile_name, exclude) zf.write