Last active
May 22, 2020 08:20
-
-
Save jaredcwhite/963d40acab5f21b42152536ad6847575 to your computer and use it in GitHub Desktop.
Testing out running a remote Thor actions script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
say "I am a script from GitHub!" | |
empty_directory "gh_dir" | |
create_file "gh_dir/fun_party.rb" do | |
hostname = ask("What is the virtual hostname I should use?") | |
"vhost.name = #{hostname}" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create_file "netlify.toml" do | |
<<~NETLIFY | |
[build] | |
command = "yarn deploy" | |
publish = "output" | |
[build.environment] | |
NODE_VERSION = "12" | |
[context.production.environment] | |
BRIDGETOWN_ENV = "production" | |
NETLIFY | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment