Skip to content

Commit

Permalink
Change the default production branch to 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanninen committed Oct 21, 2024
1 parent 05ff1db commit a07ab9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy prod
on:
push:
branches:
- release-prod
- master

jobs:
deploy-prod:
Expand All @@ -14,14 +14,14 @@ 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:
name: hsldevcom/jore-map-ui
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 }}

0 comments on commit a07ab9e

Please sign in to comment.