Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
# Enable version updates for GitHub action workflows
- package-ecosystem: "github-actions"
directory: "/"
# Check for updates to GitHub Actions once per week
schedule:
interval: "weekly"
open-pull-requests-limit: 10
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 24
- name: Deploy
run: chmod 755 ./deploy.sh && ./deploy.sh
- name: Generate
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# frp-site

The website of frp.
Workflow for automated generation and deployment of [frp website]().
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [ -d "./frp-doc" ]; then
cd ./frp-doc
git pull
else
git clone --recurse-submodules --depth 1 https://github.com/gofrp/frp-doc.git frp-doc
git clone --depth 1 https://github.com/gofrp/frp-doc.git frp-doc
fi

cd $SITE_ROOT
Expand Down
4 changes: 2 additions & 2 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ SITE_ROOT=`pwd`
cd ./source
npm install

wget https://github.com/gohugoio/hugo/releases/download/v0.133.1/hugo_extended_0.133.1_Linux-64bit.tar.gz
tar -zxvf ./hugo_extended_0.133.1_Linux-64bit.tar.gz
wget https://github.com/gohugoio/hugo/releases/download/v0.140.2/hugo_extended_0.140.2_Linux-64bit.tar.gz
tar -zxvf ./hugo_extended_0.140.2_Linux-64bit.tar.gz
./hugo

if [ -d "./public" ]; then
Expand Down