Skip to content

change production node #38

change production node

change production node #38

Workflow file for this run

name: Deploy to 'hosting' branch
on:
push:
branches:
- develop
jobs:
deploy:
name: Deploy
runs-on: ubuntu-22.04
steps:
# Checkout
- uses: actions/checkout@v3
# Use Node to install dependencies and build
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies and build
run: |
npm ci --legacy-peer-deps
npm run build
env:
CI: false
# Deploy to `hosting` branch
- name: Deploy to hosting branch
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: hosting
FOLDER: build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}