diff --git a/.github/workflows/ascii-workflow.yml b/.github/workflows/ascii-workflow.yml index 8e64971..8261963 100644 --- a/.github/workflows/ascii-workflow.yml +++ b/.github/workflows/ascii-workflow.yml @@ -4,24 +4,11 @@ on: - push jobs: - first_job: - name: ASCII + first_job: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v4 - - name: Install Cowsay Program - run: sudo apt-get install cowsay -y - - - name: Execute Cowsay Command - run: cowsay -f dragon "Run for cover, I am a DRAGON......RAWR" >> dragon.txt - - - name: Test file exists - run: grep -i "dragon" dragon.txt - - - name: Read File - run: cat dragon.txt - - - name: List Repo files - run: ls -ltra + - name: Execute Shell Script + run: ./ascii-script.sh \ No newline at end of file diff --git a/.github/workflows/first_job.yml b/.github/workflows/first_job.yml index 22f79ec..d9bc212 100644 --- a/.github/workflows/first_job.yml +++ b/.github/workflows/first_job.yml @@ -1,17 +1,17 @@ -name: First Workflow +# name: First Workflow -on: - - push +# on: +# - push -jobs: - first_job: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 +# jobs: +# first_job: +# runs-on: ubuntu-latest +# steps: +# - name: Checkout Code +# uses: actions/checkout@v4 - - name: List and Read files - run: | - echo "My first GitHub Actions Job Today" - ls -1 - cat Dockerfile +# - name: List and Read files +# run: | +# echo "My first GitHub Actions Job Today" +# ls -1 +# cat Dockerfile diff --git a/ascii-script.sh b/ascii-script.sh new file mode 100644 index 0000000..3b3a6ba --- /dev/null +++ b/ascii-script.sh @@ -0,0 +1,6 @@ +# /bin/bash +sudo apt-get install cowsay -y +cowsay -f dragon "Run for cover, I am a DRAGON......RAWR" >> dragon.txt +grep -i "dragon" dragon.txt +cat dragon.txt +ls -ltra \ No newline at end of file