From 59bcb490d7876e2cf2aca31e54c8ee94aa78520e Mon Sep 17 00:00:00 2001 From: Muffin Date: Sat, 6 Apr 2024 15:12:48 -0500 Subject: [PATCH] Automatically deploy on push to master --- .github/workflows/deploy.yml | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7082e53..a9d815c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,6 +2,8 @@ name: Deploy to GitHub Pages on: workflow_dispatch: + push: + branches: [master] permissions: contents: read diff --git a/README.md b/README.md index a9b32af..6320753 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ We use GitHub Actions and GitHub Pages to manage our deployment. If you want to - Fork the repository on GitHub and push your changes. - Go to your fork's settings on GitHub and enable GitHub Pages with the source set to GitHub Actions. - Go to the "Actions" tab and enable GitHub Actions if it isn't already enabled. - - Go to your fork > Actions > Deploy > Manually run the action on the branch of your choice (probably master). + - Push commits to the "master" branch. - In a few minutes, your site will automatically be built and deployed to GitHub Pages. ### Branding