diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_prod.yml index 90b4ffd53..f74d9e78e 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_prod.yml @@ -3,7 +3,7 @@ name: Deploy prod on: push: branches: - - release-prod + - master jobs: deploy-prod: @@ -14,7 +14,7 @@ jobs: run: echo "::set-output name=date::$(TZ='Europe/Helsinki' date +'%d.%m.%Y_%H:%M')" - uses: actions/checkout@v4 with: - ref: release-prod + ref: master - name: Build UI and publish Docker image uses: elgohr/Publish-Docker-Github-Action@v5 with: @@ -22,6 +22,6 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} buildargs: APP_ENVIRONMENT=prod, APP_REACT_APP_DIGITRANSIT_API_KEY=${{ secrets.JOREMAPUI_DIGITRANSITAPIKEY_PROD }}, APP_DOMAIN=${{ secrets.APP_DOMAIN_PROD }}, APP_BUILD_DATE=${{ steps.date.outputs.date }} - tags: release-prod + tags: production env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}