noaa-fisheries-integrated-toolbox / toolbox_web_templating

Templates and JSON model data for the toolbox web pages
1 stars 0 forks source link

update gha to deploy webpages #28

Closed k-doering-NOAA closed 1 year ago

k-doering-NOAA commented 1 year ago

It would be great to have changes get pushed directly to update the website (in the future, to dev before prod), and so modifying the github actions to do this would be ideal.

Note that this is already partially done for the protected resources gha, but it still has some problems:

The ideal would be that the gha doesn't fail if the PR already exists, and that the PR is updated with any new commits. Perhaps API calls and a try{}catch{} statement could help with this.

Once this is solved for PR, it could be applied to the other jobs (ideally, by making a reusable workflow).

k-doering-NOAA commented 1 year ago

solved by work on #11