70103 debug (#2023) #135
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |