From ddb3c9dd2fc221891ed99dfcf468f51e6ec64af2 Mon Sep 17 00:00:00 2001 From: Violet Monserate <55568600+ctrl-vi@users.noreply.github.com> Date: Thu, 10 Sep 2026 23:58:53 -0700 Subject: [PATCH] Create new workflow, update old one --- .github/workflows/build.yml | 18 ++++++++++++++++++ .github/workflows/deploy.yml | 9 ++------- 2 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..33ea772 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,18 @@ +name: Build pull request + +on: + pull_request: + types: [opened, synchronize, reopened] + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v7 + - name: Install, build, and upload your site output + uses: withastro/action@v6 \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4d20f5..133fb8f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,14 +19,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 24 + uses: actions/checkout@v7 - name: Install, build, and upload site - uses: withastro/action@v3 - + uses: withastro/action@v6 deploy: needs: build runs-on: ubuntu-latest