Skip to content

Make um7 Spack package more consistent with other ACCESS-NRI Spack pa… #49

Make um7 Spack package more consistent with other ACCESS-NRI Spack pa…

Make um7 Spack package more consistent with other ACCESS-NRI Spack pa… #49

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"}}'