Skip to content

Commit

Permalink
chore: setup github pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown committed Dec 6, 2023
1 parent 068fbee commit 773e52c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to GitHub Pages

on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v1
with:
package-manager: pnpm@latest

deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
2 changes: 2 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
site: 'https://ecmatc53.github.io/',
base: '/docs',
integrations: [starlight({
title: 'ECMA-419 Docs',
social: {
Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/api/io-class/tcp-listener-socket.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: TCP Listener Socket
description: TBD
description: An [IO class](/api/io-class/) that listens for and accepts incoming [TCP](/glossary/#tcp) connection requests.

---

## TBD
An [IO class](/api/io-class/) that listens for and accepts incoming [TCP](/glossary/#tcp) connection requests.



Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hero:
file: ../../assets/houston.webp
actions:
- text: API Overview
link: /api
link: /docs/api
icon: right-arrow
variant: primary
- text: Read about TC53
Expand Down

0 comments on commit 773e52c

Please sign in to comment.