Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update "Deploy to Deno Deploy" guide #658

Merged
merged 1 commit into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -198,14 +198,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