fix: spacing between banner and input #141
Workflow file for this run
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: Deploy to Yandex Cloud | |
# Controls when the action will run. | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [feature/**-prod] | |
env: | |
VITE_BACKEND_DOMEN: ${{ vars.VITE_BACKEND_DOMEN }} | |
VITE_BACKEND_URL: ${{ vars.VITE_BACKEND_URL }} | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
name: Build | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20.10.0' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build project | |
run: npm run build | |
- name: Upload production-ready build files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: production-files | |
path: ./dist | |
deploy: | |
name: Deploy | |
needs: build | |
runs-on: self-hosted | |
steps: | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: production-files | |
path: ./dist |