Skip to content

Commit

Permalink
try to echo release event
Browse files Browse the repository at this point in the history
  • Loading branch information
BenLatham committed Sep 15, 2022
1 parent 98a964f commit 924b9d1
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: preprod-release
on:
pull_request
on:
pull_request
# on:
# release:
# types: [prereleased]
permissions:
contents: read
jobs:
get_build_files:
- run: |
curl \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{}}" \
https://api.github.com/repos/OWNER/REPO/releases/assets/ASSET_ID
permissions:
contents: read
jobs:
get_build_files:
- run: |
echo ${{github.event.release}}
curl \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/releases/assets/ASSET_ID
# https://github.com/ONSdigital/sml-catalogue/releases/download/untagged-b4baa578f9c18064cf63/build.zip

0 comments on commit 924b9d1

Please sign in to comment.