Skip to content

Commit

Permalink
fix: only build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ihoey committed Mar 7, 2024
1 parent 03fb939 commit 01c8c08
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to GitHub Pages
name: Only Build

on:
# Trigger the workflow every time you push to the `main` branch
Expand All @@ -20,10 +20,15 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Install, build, and upload your site output
uses: withastro/action@v2
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

version: "18"
- name: Install
shell: "bash"
working-directory: "."
run: pnpm install
- name: Build
shell: "bash"
working-directory: "."
run: pnpm run build

0 comments on commit 01c8c08

Please sign in to comment.