coastal-science / call-catalog-viewer

https://orca.research.sfu.ca/catalogue
Other
1 stars 0 forks source link

Actions patch 1 #5

Closed VWJF closed 2 years ago

VWJF commented 2 years ago

First attempt at GitHub Actions.

The GH Actions Workflow:

  1. Prompts to select a branch
  2. Retrieves the latest 2 commits from the head of the branch and appends them to event data
    • Artificially match manual GH Action (on workflow_dispatch) to GH Webhook (on push)
  3. Triggers webhook on orca server (hooks.json, simple_pull)
    • orca server pulls branch into deployed frontend
    • Add (curl) 'success' or 'failure' to the latest commit (Commit status)

When merging this PR, use squash and merge