mirror of
https://github.com/awfufu/frp-pkgs.git
synced 2026-03-01 04:49:44 +08:00
ci: generate index.html from README for CF Pages deployment
This commit is contained in:
5
.github/workflows/build_publish.yml
vendored
5
.github/workflows/build_publish.yml
vendored
@@ -283,6 +283,11 @@ jobs:
|
||||
apt-ftparchive release . -c apt-ftparchive.conf > Release
|
||||
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
|
||||
uses: cloudflare/pages-action@v1
|
||||
with:
|
||||
|
||||
@@ -26,7 +26,7 @@ Add the repository to known lists.
|
||||
|
||||
```bash
|
||||
# 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
|
||||
sudo apt update
|
||||
|
||||
Reference in New Issue
Block a user