Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LinuxMiniProject #65

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 1 addition & 3 deletions SOLUTION
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
<your secret here> << Change this line. The secret must be placed in the first line

# Good Luck!
<814c5723c21e7e90a3eae36c8df3c513>
19 changes: 19 additions & 0 deletions mySolution.sh
Original file line number Diff line number Diff line change
@@ -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