Skip to content

Add gitpod.io integration #211

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# https://www.gitpod.io integration
tasks:
- name: astro-build
before: npm install && npm run build
init: npm run dev
command: gp await-port 3000 && gp preview $(gp url 3000)

ports:
- port: 3000
onOpen: open-browser
visibility: public
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
Feel free to contribute! The content is mostly Markdown files bopped into the appropriate folders.

Site is built on [Astro](https://astro.build/). You should be able to pull it, `npm install`, and `npm run dev` and it'll come up.

You can also use Gitpod to get an online instance.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/CSS-Tricks/serverless)