Skip to content

Commit

Permalink
Add package in the workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriandmen committed May 22, 2021
1 parent 6c8b4de commit 67310e8
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 5 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,14 @@ jobs:

# Code coverage
- name: Upload code coverage report
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v1

# Archive
- name: Prepare artifacts
run: mvn clean package -Dmaven.test.skip=true

- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: krokodil-app
path: ./target/krokodil-*.jar
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ build/
.vscode/

### Not so secret secrets ###
*.secret
*.secret
*.pem
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
spring.mvc.view.suffix=.html
server.port=80
Empty file.
13 changes: 10 additions & 3 deletions src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello, World!</title>
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Le Crocodile</title>
<link rel="stylesheet" href="style.css"/>
<script src="main.js"></script>
</head>
<body>
<p>Hello, World!</p>
<div>
Hello, World!
</div>
</body>
</html>
</html>

0 comments on commit 67310e8

Please sign in to comment.