diff --git a/.github/workflows/deploy-to-vps.yaml b/.github/workflows/deploy-to-vps.yaml index 07daab4..e7e9de6 100644 --- a/.github/workflows/deploy-to-vps.yaml +++ b/.github/workflows/deploy-to-vps.yaml @@ -21,10 +21,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "20" @@ -42,7 +42,7 @@ jobs: - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: - hugo-version: "latest" + hugo-version: "0.122.0" extended: true - name: Cache Hugo modules diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a4df12b --- /dev/null +++ b/Makefile @@ -0,0 +1,3 @@ +.PHONY: build +build: + hugo --minify --gc --enableGitInfo --cleanDestinationDir