Skip to content

Commit

Permalink
chore(website): use GitHub Pages
Browse files Browse the repository at this point in the history
wellwelwel committed Nov 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9dca420 commit 1ab88ed
Showing 6 changed files with 6 additions and 129 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/cd_docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -36,23 +36,10 @@ jobs:
- name: Building Site
run: cd website && npm run build

- name: Checking Docker Build
run: cd website && docker compose up -d --build
env:
APP_PORT: ${{secrets.APP_PORT}}

- name: Checking for Service Status Header
run: |
sleep 1
curl --fail --silent --output /dev/null http://localhost:${{ env.APP_PORT }}
env:
APP_PORT: ${{secrets.APP_PORT}}

- name: Deploy
run: cd website && npm run deploy
env:
SRV_HOST: ${{secrets.SRV_HOST}}
SRV_USER: ${{secrets.SRV_USER}}
SRV_PORT: ${{secrets.SRV_PORT}}
SRV_PASS: ${{secrets.SRV_PASS}}
APP_PORT: ${{secrets.APP_PORT}}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
cname: poku.io
allow_empty_commit: true
12 changes: 0 additions & 12 deletions .github/workflows/ci_docs-website.yml
Original file line number Diff line number Diff line change
@@ -41,15 +41,3 @@ jobs:

- name: Checking Build
run: cd website && npm run build

- name: Checking Docker Build
run: cd website && docker compose up -d --build
env:
APP_PORT: 3000

- name: Checking for Service Status Header
run: |
sleep 1
curl --fail --silent --output /dev/null http://localhost:${{ env.APP_PORT }}
env:
APP_PORT: 3000
5 changes: 0 additions & 5 deletions website/.env.example

This file was deleted.

15 changes: 0 additions & 15 deletions website/Dockerfile

This file was deleted.

10 changes: 0 additions & 10 deletions website/docker-compose.yml

This file was deleted.

68 changes: 0 additions & 68 deletions website/server.ts

This file was deleted.

0 comments on commit 1ab88ed

Please sign in to comment.