Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

46863 use tags #825

Merged
merged 10 commits into from
Dec 19, 2024
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
Loading