diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index c9f126230..59a8bbc2c 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -61,3 +61,16 @@ jobs: [ -f openwrt/tmp/image-file ] && aws s3 cp --acl public-read --content-type "application/octet-stream" "openwrt/$(cat openwrt/tmp/image-file)" "s3://$AWS_S3_BUCKET_NAME/$IMG_NAME" [ -f openwrt/tmp/image-file ] && aws s3 cp --acl public-read --content-type "application/json" "latest-upgrade.json" "s3://$AWS_S3_BUCKET_NAME/$JSON_NAME" + + trigger-testing: + runs-on: ubuntu-latest + needs: build + if: startsWith(github.ref, 'refs/tags/v') + steps: + - name: Trigger testing of release + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.WLAN_TESTING_PAT }} + repository: Telecominfraproject/wlan-testing + event-type: new-ap-release + client-payload: '{"ref": "${GITHUB_REF#refs/tags/}", "sha": "${{ github.sha }}"}'