mirror of
https://github.com/awfufu/frp-pkgs.git
synced 2026-03-01 21:00:00 +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
|
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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user