Skip to content

Commit 82e7cb9

Browse files
committed
.
1 parent 5589951 commit 82e7cb9

File tree

5 files changed

+10
-25
lines changed

5 files changed

+10
-25
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# example-static-site
2+
3+
This is an example static site.
4+
5+
[Read the documentation](https://docs.letsdisco.dev/guides/deploying-a-static-site) on how to deploy static sites using disco.

disco.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"services": {
44
"web": {
55
"type": "static",
6-
"publicPath": "/myPublicDir"
6+
"publicPath": "/dist"
77
}
88
}
99
}

myPublicDir/index.html dist/index.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<title>super minimal site</title>
6+
<title>This is my web site</title>
77
</head>
88
<body>
9-
ok this is good
9+
10+
Deploy with <a href="https://letsdisco.dev/">disco</a>!
11+
1012
</body>
1113
</html>

myPublicDir/new.html

-11
This file was deleted.

myPublicDir/test.html

-11
This file was deleted.

0 commit comments

Comments
 (0)