Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Use the specific tag for staging deployments (#1706)
sarayourfriendcff57efcd212
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.ymlindex 959536ec1..f877b5c30 100644--- a/.github/workflows/ghcr.yml+++ b/.github/workflows/ghcr.yml@@ -24,6 +24,8 @@ jobs:runs-on: ubuntu-latest# prevent running on fork PRsif: github.event_name == 'push' || github.event_name == 'release' || github.event.pull_request.head.repo.owner.login == 'WordPress'+ outputs:+ pushed-version: ${{ steps.get-version.outputs.version }}steps:- name: Checkout branch or push to main@@ -90,7 +92,7 @@ jobs:- uses: ./.github/actions/staging-frontend-deploywith:- tag: "main"+ tag: ${{ needs.push-to-ghcr.outputs.pushed-version }}aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}slack-webhook: ${{ secrets.SLACK_WEBHOOK_URL }}