Skip to content

Bump braces from 3.0.2 to 3.0.3 (#37) #54

Bump braces from 3.0.2 to 3.0.3 (#37)

Bump braces from 3.0.2 to 3.0.3 (#37) #54

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Node Deployment
# Controls when the action will run. Triggers the workflow on push
# events but only for the master branch
on:
push:
branches: [ master ]
# 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:
# 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:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '17.x'
- name: Install Dependencies
run: npm install -g sass mustache
- name: Run Build
run: npm run build
- name: Deploy to Server
uses: easingthemes/[email protected]
env:
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
ARGS: -rtgozvO --delete --exclude=/img
SOURCE: "static/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}