From 47beb2bf6ad86626db4bd60997c876121d84c091 Mon Sep 17 00:00:00 2001 From: goksel <> Date: Fri, 27 Aug 2021 13:55:30 +0100 Subject: [PATCH] Added the GitHub action workflow for the SBOL Visual Ontology --- .github/workflows/ontology-update.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/ontology-update.yml diff --git a/.github/workflows/ontology-update.yml b/.github/workflows/ontology-update.yml new file mode 100644 index 0000000..c46f8c8 --- /dev/null +++ b/.github/workflows/ontology-update.yml @@ -0,0 +1,20 @@ +name: update-sbol-visual-ontology-repo + +on: + release: + types: [ created ] + +jobs: + update_ontology: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v2 + + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.SBOL_VISUAL_ONTOLOGY_DEPLOY_SECRET }} + repository: SynBioDex/sbol-visual-ontology + event-type: new-release + client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'