From 755c4984cface2f47945295d479e2e92cc1f586d Mon Sep 17 00:00:00 2001 From: Dukk <48651837+DakshG07@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:16:49 -0400 Subject: [PATCH] ci: update pages workflow --- .github/workflows/pages.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 81b005e..ad659d6 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,16 +1,10 @@ name: Github Pages -# Runs whenever we release a new semantically versioned tag. -on: - push: - tags: - - 'v[0-9]+.[0-9]+.[0-9]+' -# to only run when you do a new github release, comment out above part and uncomment the below trigger. -# on: -# release: -# types: -# - published +on: + release: + types: + - published permissions: contents: write # for committing to gh-pages branch.