fix: input labels getting merged inside input borders when opened for… #181
This file contains 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: Frontend Production Deployment | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "zubhub_frontend/zubhub/**" | |
- "!zubhub_frontend/zubhub/README.md" | |
- "!zubhub_frontend/zubhub/.env.example" | |
- "!zubhub_frontend/zubhub/.prettierrc.yaml" | |
- "!zubhub_frontend/zubhub/.gitignore" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Checkout files | |
uses: actions/checkout@v2 | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./zubhub_frontend/zubhub/ | |
file: ./zubhub_frontend/zubhub/Dockerfile.prod | |
push: true | |
tags: unstructuredstudio/zubhub-frontend:latest | |
- name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} | |
deploy: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Copy file via scp | |
uses: appleboy/scp-action@master | |
with: | |
host: ${{ secrets.DO_FRONTEND_HOST }} | |
username: ${{ secrets.DO_FRONTEND_USERNAME }} | |
key: ${{ secrets.DO_SSHKEY }} | |
source: "." | |
target: "/home/zubhub-frontend/zubhub" | |
- name: Executing remote command | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.DO_FRONTEND_HOST }} | |
username: ${{ secrets.DO_FRONTEND_USERNAME }} | |
port: ${{ secrets.DO_SSHPORT }} | |
key: ${{ secrets.DO_SSHKEY }} | |
script: "cp /home/zubhub-frontend/zubhub/zubhub_frontend/zubhub/deploy_frontend.sh /home/zubhub-frontend/ && sudo bash /home/zubhub-frontend/deploy_frontend.sh" |