Test a real deploy now
Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
c19e369c80
commit
2a781f3c85
2 changed files with 6 additions and 27 deletions
31
README.md
31
README.md
|
@ -1,29 +1,8 @@
|
|||
# deploy_lume_example
|
||||
# Deploy Example
|
||||
|
||||
This is an example of a static site generated by the [Lume][lume] static site
|
||||
generator being deployed to Deno Deploy via Drone CI.
|
||||
This is an example of a simple deployment of a web application using the [Deno Deploy](https://git.froth.zone/actions/deno-deploy) module.
|
||||
|
||||
To learn more about static files on Deno Deploy, view this blog post:
|
||||
<https://deno.com/blog/deploy-static-files>
|
||||
It is deployed in two places:
|
||||
|
||||
## Development
|
||||
|
||||
First, install [Lume][lume].0
|
||||
|
||||
```shell
|
||||
deno run -A https://deno.land/x/lume/install.ts
|
||||
```
|
||||
|
||||
Then build the site:
|
||||
|
||||
```shell
|
||||
lume
|
||||
```
|
||||
|
||||
Then start the server:
|
||||
|
||||
```shell
|
||||
deno run -A server/main.ts
|
||||
```
|
||||
|
||||
[lume]: https://lume.land
|
||||
- GitHub Actions: <https://github-actions-deploy.deno.dev> ([Action Link](./.github/workflows/deploy.yaml))
|
||||
- Drone CI: <https://drone-deploy.deno.dev> ([Drone Link](./.drone.yml))
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
<h1>Welcome to my page</h1>
|
||||
<p>This is an example of a static site generated on Deno Deploy.</p>
|
||||
<p>The <a href="/api/time">/api/time</a> endpoint dynamically returns the current time.</p>
|
||||
<p>You can find the source code for this site <a href="https://git.froth.zone/sam/drone-deploy-example">on my Gitea instance</a>.</p>
|
||||
<p>You can find the source code for this site <a href="https://git.froth.zone/sam/drone-deploy-example">on my Forgejo instance</a>.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue