Skip to content

mom5: rename the SPACK_BUILD environment variable (#169) #57

mom5: rename the SPACK_BUILD environment variable (#169)

mom5: rename the SPACK_BUILD environment variable (#169) #57

name: "Dispatch Event to Build CI"
on:
push:
tags:
- '*.*.*'
paths:
- 'packages/**'
jobs:
send-update-to-build-ci:
name: Send Update to Build CI repo
runs-on: ubuntu-latest
steps:
- name: Send event and tag to build-ci repo
run: |
curl -XPOST -u "${{ secrets.RELEASE_BUILD_CI_PAT_USERNAME }}:${{ secrets.RELEASE_BUILD_CI_PAT }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/ACCESS-NRI/build-ci/actions/workflows/dep-image-1-start.yml/dispatches \
--data '{"ref": "main", "inputs":{"spack-packages-version": "${{ github.ref_name }}", "model": "all"}}'