From 67ce4815df91f09abba641e9e9cc4028bc0b1513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Sat, 31 May 2025 11:47:30 -0500 Subject: [PATCH] feat: workflow --- .github/workflows/website.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 22c7f66e3..a7c24c6e6 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -26,13 +26,17 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 with: submodules: recursive token: ${{ secrets.GH_TOKEN }} - - uses: oven-sh/setup-bun@v1 - - uses: actions/configure-pages@v5 + - name: Setup Bun + uses: oven-sh/setup-bun@v1 + + - name: Configure pages + uses: actions/configure-pages@v5 - name: Install dependencies run: bun install @@ -46,13 +50,12 @@ jobs: path: dist/website deploy-github-pages: - if: ${{ github.ref == 'refs/heads/main' }} name: Deploy to GitHub Pages runs-on: ubuntu-latest needs: build - environment: - name: Production - url: ${{ steps.deployment.outputs.page_url }} + if: > + (github.repository == 'tresabhi/blitzkit' && github.ref == 'refs/heads/main') || + (github.repository == 'blitzkit/host-redux' && github.ref == 'refs/heads/ue4') steps: - name: Deploy to GitHub Pages