Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Allow running action from ref (#1337)
sarayourfriend5f7657bb0c0e
diff --git a/.github/workflows/push_production.yaml b/.github/workflows/push_production.yamlindex 47779f6ee..dac1c059a 100644--- a/.github/workflows/push_production.yaml+++ b/.github/workflows/push_production.yaml@@ -7,6 +7,11 @@ on:release:types:- 'released'+ workflow_dispatch:+ inputs:+ sha:+ description: Git commit from which to build the new stable image.+ required: truejobs:push:@@ -20,6 +25,8 @@ jobs:# download the source code into the runner- name: checkoutuses: actions/checkout@v2+ with:+ ref: ${{ github.event.inputs.sha || 'main' }}# build a new docker image and push it into the repository- name: docker build