Skip to content

Commit

Permalink
docs: update "Deploy to Deno Deploy" guide (#658)
Browse files Browse the repository at this point in the history
Closes #653
  • Loading branch information
iuioiua authored Jan 21, 2024
1 parent 2ad31f9 commit 53b8962
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
uses: denoland/setup-deno@v1

- name: Build step
run: deno task build
run: deno task build # 📝 Update the build command(s) if necessary

- name: Upload to Deno Deploy
uses: denoland/deployctl@v1
with:
project: saaskit
entrypoint: ./main.ts
project: saaskit # 📝 Update the deploy project name if necessary
entrypoint: ./main.ts # 📝 Update the entrypoint if necessary
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,20 @@ This section assumes that a
### Deploy to [Deno Deploy](https://deno.com/deploy)

1. Clone this repository for your SaaSKit project.
1. Sign into [Deno Deploy](https://dash.deno.com) with your GitHub account.
1. Update your `.github/workflows/deploy.yml` file as needed. Hints are in the
file.
1. Sign into [Deno Deploy](https://dash.deno.com/projects) with your GitHub
account.
1. Click **+ New Project**.
1. Select your GitHub organization or user, repository, and branch.
1. Select **Automatic** deployment mode and `main.ts` as the entry point.
1. Click **Link**, which will start the deployment.
1. Click **Edit mode** and select **Build step with GitHub Actions** as the
build mode and `main.ts` as the entry point.
1. Click **Add Build Step** and wait until the GitHub Actions Workflow is
complete.
1. Once the deployment is complete, click on **Settings** and add the production
environmental variables, then hit **Save**.

You should now be able to visit your newly deployed SaaS.
You should now be able to visit your newly deployed SaaS website.

### Deploy to any VPS with Docker

Expand Down

0 comments on commit 53b8962

Please sign in to comment.