mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 00:31:59 +02:00
Migrate from Travis CI to GitHub Actions
This commit is contained in:
parent
4b69ab232f
commit
ca1802758f
8 changed files with 50 additions and 20 deletions
|
@ -708,8 +708,8 @@ class Site < Sequel::Model
|
|||
|
||||
return false unless valid_file_mime_type_and_ext?(mime_type, extname)
|
||||
|
||||
# clamdscan doesn't work on travis for testing
|
||||
return true if ENV['TRAVIS'] == 'true'
|
||||
# clamdscan doesn't work on continuous integration for testing
|
||||
return true if ENV['CI'] == 'true'
|
||||
|
||||
File.chmod 0666, uploaded_file[:tempfile].path
|
||||
line = Terrapin::CommandLine.new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue