Test a real deploy now
continuous-integration/drone/push Build is passing Details
ci / build (push) Successful in 10s Details

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-03-27 22:23:26 +01:00
parent c19e369c80
commit 2a781f3c85
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
2 changed files with 6 additions and 27 deletions

View File

@ -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))

View File

@ -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>