Skip to content

Commit

Permalink
Merge pull request #826 from HSLdevcom/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ahjyrkia authored Dec 19, 2024
2 parents 37e7796 + e9b8caa commit 105d696
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ name: Deploy and test production

on:
push:
branches:
- production
tags:
- 'v*'

jobs:
deploy-production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: production
ref: ${{ github.ref }}
- name: Build UI and publish Docker image
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: hsldevcom/transitlog-ui
username: ${{ secrets.TRANSITLOG_DOCKERHUB_USER }}
password: ${{ secrets.TRANSITLOG_DOCKERHUB_TOKEN }}
buildargs: BUILD_ENV=production
tags: production
tags: ${{ github.ref_name }}
- name: Checkout server
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -47,6 +47,7 @@ jobs:
with:
time: "5m" # Wait until all servers are restarted
- name: Cypress tests
if: false
uses: cypress-io/github-action@v2
# with:
# record: true # Only production records to Cypress.io
Expand Down

0 comments on commit 105d696

Please sign in to comment.