Skip to content

add ru-kdm banners

add ru-kdm banners #86

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Configure Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install and Build 🔧
run: |
npm i
HOME_BASE_URL="${{ vars.HOME_BASE_URL }}" G_ID="${{ vars.G_ID }}" SEARCH_ACCOUNT_ID="${{ vars.SEARCH_ACCOUNT_ID }}" SEARCH_API_KEY="${{ vars.SEARCH_API_KEY }}" DISABLE_ROBOTS="${{ vars.DISABLE_ROBOTS }}" npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GH_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to
FOLDER: ./docs # The folder the action should deploy
CLEAN: true # Automatically remove deleted files from the deploy branch