From 53530d084c07cb675eeb83f8ba9779a386ccf6ae Mon Sep 17 00:00:00 2001 From: kaka111222333 <102349696+kaka111222333@users.noreply.github.com> Date: Fri, 28 Feb 2025 22:15:12 +0800 Subject: [PATCH] Update jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 36 +++++++++++---------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml index 49cada3..65d79ab 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/jekyll-gh-pages.yml @@ -1,7 +1,7 @@ -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled +# Simple workflow for deploying static content to GitHub Pages +name: Deploy static content to Pages -on: +on:我的IPTV # Runs on pushes targeting the default branch push: branches: ["master"] @@ -22,30 +22,22 @@ concurrency: cancel-in-progress: false jobs: - # Build job - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Setup Pages - uses: actions/configure-pages@v4 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 - with: - source: ./ - destination: ./_site - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 - - # Deployment job + # Single deploy job since we're just deploying deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest - needs: build steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + # Upload entire repository + path: '.' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2