Skip to content

Commit

Permalink
Add docs/ directory to excluded files in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Jan 11, 2024
1 parent e3ebd34 commit adac43d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Expand Up @@ -42,6 +42,7 @@ jobs:
**/.git*/**
**/.bundle*
**/.bundle*/**
docs/**
rva_cars/**
rva_lego_tracks/**
rva_tracks/**
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand Down

0 comments on commit adac43d

Please sign in to comment.