-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5152296
commit 23555b1
Showing
3 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: ASCII Workflow | ||
|
||
on: | ||
- push | ||
|
||
jobs: | ||
first_job: | ||
name: ASCII | ||
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 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM tomcat:8.0.20-jre8 | ||
COPY target/*.war /usr/local/tomcat/webapps/cohort7.war |