Skip to content

Commit

Permalink
Remove Gatsby deploy workflow; run build on main
Browse files Browse the repository at this point in the history
Cloudflare Pages is already deploying commits to main it seems, and GitHub Pages is not enabled so Actions cannot deploy to there.
This removes the workflow for deploying to GH Pages and expands the workflow that was building pull requests to also build commits on main.
  • Loading branch information
shakuzen committed Nov 20, 2023
1 parent 167f18a commit 2dc6556
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
#
# To get started with Gatsby see: https://www.gatsbyjs.com/docs/quick-start/
#
name: Build Gatsby site (pull requests)
name: Build Gatsby site

on:
# Runs on pull requests targeting the default branch
pull_request:
branches: ["main"]
# Runs on commits to the default branch
push:
branches: ["main"]

# Default to bash
defaults:
Expand Down
97 changes: 0 additions & 97 deletions .github/workflows/gatsby-deploy.yml

This file was deleted.

0 comments on commit 2dc6556

Please sign in to comment.