From 770d2d24d944d7fc89d6137bd738ffbc32e2c7f9 Mon Sep 17 00:00:00 2001 From: b00f Date: Wed, 3 Apr 2024 16:30:35 +0800 Subject: [PATCH] update deploy action (#204) * update deploy action * update deploy action * update deploy action * update deploy action * fix the HTTP 400 error --- .github/workflows/deploy.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3233991e6..74b1b0b45 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,10 @@ on: branches: - main + pull_request: + branches: + - main + jobs: deploy: runs-on: ubuntu-latest @@ -12,14 +16,13 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 - - name: Install Bootstrap + - name: NPM Install run: npm install - - uses: jeffreytse/jekyll-deploy-action@v0.5.0 + - uses: jeffreytse/jekyll-deploy-action@af39f51204a5b46d738cd5782ab31e4109eef533 with: - bundler_ver: '~>2.4.0' token: ${{ secrets.GITHUB_TOKEN }} cname: 'pactus.org' # https://pngquant.org/install.html