From 5a932563661b90c904c87b979450ea28cdc515d2 Mon Sep 17 00:00:00 2001 From: Gaurang4554 <166581061+Gaurang4554@users.noreply.github.com> Date: Sun, 15 Sep 2024 18:01:20 +0000 Subject: [PATCH 1/3] Update SOLUTION --- SOLUTION | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SOLUTION b/SOLUTION index 0e969ab..07c11a0 100644 --- a/SOLUTION +++ b/SOLUTION @@ -1,3 +1 @@ - << Change this line. The secret must be placed in the first line - -# Good Luck! \ No newline at end of file +<814c5723c21e7e90a3eae36c8df3c513> From c381f226296f970d6a4eaf171f198d5702921d32 Mon Sep 17 00:00:00 2001 From: Gaurang4554 <166581061+Gaurang4554@users.noreply.github.com> Date: Sun, 15 Sep 2024 18:02:07 +0000 Subject: [PATCH 2/3] Update mySolution.sh --- mySolution.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/mySolution.sh b/mySolution.sh index e69de29..93cc676 100644 --- a/mySolution.sh +++ b/mySolution.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Download the file +wget https://exit-zero-academy.github.io/DevOpsTheHardWayAssets/linux_project/secretGenerator.tar.gz + +# Extract the file +tar -xvf secretGenerator.tar.gz + +# Navigate into the extracted directory +cd src + +# Create the directory 'secretDir' if it does not exist +mkdir -p secretDir + +# Make sure the script is executable +chmod +x generateSecret.sh + +# Generate the secret +/bin/bash generateSecret.sh From d0fc5c83dc3d23c9d95835ffeddd785e7d016f08 Mon Sep 17 00:00:00 2001 From: Gaurang4554 <166581061+Gaurang4554@users.noreply.github.com> Date: Sun, 15 Sep 2024 18:08:26 +0000 Subject: [PATCH 3/3] Create blank.yml --- .github/workflows/blank.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..9bd7353 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1 @@ +name: CIon: pull_request: branches: - mainjobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v2 - name: Set up Node.js uses: actions/setup-node@v2 with: node-version: '14' - name: Install dependencies run: npm install - name: Run tests run: npm test