Skip to content

Commit

Permalink
ci: fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jta committed May 22, 2024
1 parent d9aaa93 commit 650fd83
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
github.actor != 'dependabot[bot]' &&
needs.github-release.outputs.version != ''
secrets: inherit
env:
VERSION: ${{ needs.github-release.outputs.VERSION }}
with:
version: ${{ needs.github-release.outputs.VERSION }}

aws-release:
needs: [fetch-regions, github-release, tests]
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/static-upload.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
name: Upload static assets

on:
push:
branches:
- main
workflow_dispatch:
pull_request:

inputs:
version:
description: 'Version metadata tag to attach to S3 object'
default: ''
required: false
type: string
workflow_call:
inputs:
version:
description: 'Version metadata tag to attach to S3 object'
default: ''
required: false
type: string

env:
S3_BUCKET_PREFIX: observeinc

Expand Down Expand Up @@ -47,3 +56,5 @@ jobs:

- name: Sync
run: make static-upload
env:
VERSION: ${{ inputs.version }}

0 comments on commit 650fd83

Please sign in to comment.