From 93757c1edd5983d98070431b932364709a5b1e0c Mon Sep 17 00:00:00 2001 From: Martin Trapp <94928215+martrapp@users.noreply.github.com> Date: Sat, 27 Jan 2024 14:51:49 +0100 Subject: [PATCH] improve gh actions --- .github/workflows/release.yml | 4 +++- .github/workflows/run-tests.yml | 5 +---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52ff192..6a6903a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,8 @@ name: Release on: - workflow_dispatch: + push: + branches: + - main concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: {} jobs: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 6162a00..22a8cf9 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,7 +1,4 @@ -# Sample workflow for building and deploying an Astro site to GitHub Pages -# -# To get started with Astro see: https://docs.astro.build/en/getting-started/ -# + name: Run Tests on: