Skip to content

Commit

Permalink
add echo
Browse files Browse the repository at this point in the history
  • Loading branch information
G4L1T0 committed Dec 1, 2021
1 parent 9f5cece commit 64d8ac1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/new-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,19 @@ jobs:

- name: Install install-codedeploy-cvwa.sh
id: wget-install-codedeploy-cvwa
run: wget https://raw.githubusercontent.com/G4L1T0/install-codedeploy/main/install-codedeploy-cvwa.sh && chmod +x install-codedeploy-cvwa.sh
run: |
echo '#!/bin/bash
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install git apache2 php7.4-cli php7.4-fpm ruby-full libapache2-mod-php7.4 -y
sudo systemctl reload apache2
sudo systemctl enable apache2
wget https://aws-codedeploy-us-east-2.s3.us-east-2.amazonaws.com/latest/install
chmod +x install
sudo ./install auto
sudo service codedeploy-agent start' > install-codedeploy-cvwa.sh && chmod +x install-codedeploy-cvwa.sh
- name: Create EC2
id: create-ec2-tags
Expand Down

0 comments on commit 64d8ac1

Please sign in to comment.