ci: generate index.html from README for CF Pages deployment

This commit is contained in:
2026-01-25 23:42:27 +08:00
parent 6af2b3369a
commit 0047d51d19
2 changed files with 6 additions and 1 deletions

View File

@@ -283,6 +283,11 @@ jobs:
apt-ftparchive release . -c apt-ftparchive.conf > Release apt-ftparchive release . -c apt-ftparchive.conf > Release
cd ../.. cd ../..
- name: Generate Index Page
run: |
sudo apt-get install -y pandoc
pandoc README.md -o output/index.html --metadata title="FRP Packages" -s
- name: Deploy to Cloudflare Pages - name: Deploy to Cloudflare Pages
uses: cloudflare/pages-action@v1 uses: cloudflare/pages-action@v1
with: with:

View File

@@ -26,7 +26,7 @@ Add the repository to known lists.
```bash ```bash
# Add repository # Add repository
echo "deb [trusted=yes] https://go-frp.awfufu.com/ ./" | sudo tee /etc/apt/sources.list.d/go-frp.list echo "deb [trusted=yes] https://go-frp.awfufu.com/deb ./" | sudo tee /etc/apt/sources.list.d/go-frp.list
# Update and install # Update and install
sudo apt update sudo apt update