Skip to content

Commit

Permalink
feat: use Pallas to generate dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Aug 22, 2024
1 parent 7f824c7 commit 0ccc0fc
Show file tree
Hide file tree
Showing 42 changed files with 53 additions and 3,091 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Docs

on:
push:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21

- name: Install pallas
run: |
curl -L -o pallas https://github.com/Vanilla-OS/Pallas/releases/download/continuous/pallas
chmod +x pallas
- name: Generate Docs
run: ./pallas

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./dist
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v2

deploy:
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
50 changes: 0 additions & 50 deletions .github/workflows/website.yml

This file was deleted.

1 change: 0 additions & 1 deletion docs/website/CNAME

This file was deleted.

152 changes: 0 additions & 152 deletions docs/website/build.js

This file was deleted.

16 changes: 0 additions & 16 deletions docs/website/package.json

This file was deleted.

Loading

0 comments on commit 0ccc0fc

Please sign in to comment.