feat: add service icons #6
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: maintain | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
maintain: | |
runs-on: ubuntu-latest | |
env: | |
SITE_FTP_HOST: '${{ secrets.SITE_FTP_HOST }}' | |
SITE_FTP_USER: '${{ secrets.SITE_FTP_USER }}' | |
SITE_FTP_PASSWORD: '${{ secrets.SITE_FTP_PASSWORD }}' | |
SITE_FTP_STORE_PATH_EN: '${{ secrets.SITE_FTP_STORE_PATH_EN }}' | |
SITE_FTP_STORE_PATH_RU: '${{ secrets.SITE_FTP_STORE_PATH_RU }}' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2147483647 | |
- name: Install Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build English site version | |
run: npm run build | |
- name: Deploy English site version | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.SITE_FTP_HOST }} | |
username: ${{ secrets.SITE_FTP_USER }} | |
password: ${{ secrets.SITE_FTP_PASSWORD }} | |
server-dir: ${{ secrets.SITE_FTP_PATH_EN }} | |
local-dir: ./dist/ | |
exclude: ./store/** | |
- name: Build Russian site version | |
run: LANGUAGE=ru npm run build | |
- name: Deploy Russian site version | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.SITE_FTP_HOST }} | |
username: ${{ secrets.SITE_FTP_USER }} | |
password: ${{ secrets.SITE_FTP_PASSWORD }} | |
server-dir: ${{ secrets.SITE_FTP_PATH_RU }} | |
local-dir: ./dist/ | |
exclude: ./store/** |