Skip to content

Fix e2e tests

Fix e2e tests #117

Workflow file for this run

name: Deploy dev
on:
push:
branches:
- develop
jobs:
deploy-dev:
runs-on: ubuntu-latest
steps:
- name: Set current date to be accessible later with steps.date.outputs.date
id: date
run: echo "::set-output name=date::$(TZ='Europe/Helsinki' date +'%d.%m.%Y_%H:%M')"
- uses: actions/checkout@v4
with:
ref: develop
- 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=dev, APP_REACT_APP_DIGITRANSIT_API_KEY=${{ secrets.JOREMAPUI_DIGITRANSITAPIKEY_PROD }} APP_DOMAIN=${{ secrets.APP_DOMAIN_DEV }}, APP_BUILD_DATE=${{ steps.date.outputs.date }}
tags: develop
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}