ImperialCollegeLondon / SWMManywhere

SWMManywhere is used to derive and simulate a sewer network anywhere in the world
https://imperialcollegelondon.github.io/SWMManywhere/
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Run this workflow only when release is published. #286

Closed dalonsoa closed 1 month ago

dalonsoa commented 1 month ago

https://github.com/ImperialCollegeLondon/SWMManywhere/blob/246b7f750fa2f40b5b06ceebdc0b8b28f2b63324/.github/workflows/publish.yml#L1

This should read:

on:
  release:
    types: [published]

Otherwise the workflow is run multiple times.