Skip to content

chore(deps): bump docusaurus-plugin-image-zoom from 2.0.0 to 3.0.1 (#… #103

chore(deps): bump docusaurus-plugin-image-zoom from 2.0.0 to 3.0.1 (#…

chore(deps): bump docusaurus-plugin-image-zoom from 2.0.0 to 3.0.1 (#… #103

Workflow file for this run

name: Deploy to the FTP
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
name: Deploy to FTP
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
name: Clone the repository
with:
fetch-depth: 0
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
name: Install Node.JS
with:
node-version: 20.x
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
name: Install pnpm
with:
version: 9
run_install: false
- name: Get pnpm store directory
shell: bash
run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ${{env.STORE_PATH}}
key: ${{runner.os}}-pnpm-cache-${{ hashFiles('./pnpm-lock.yaml')}}
restore-keys: ${{runner.os}}-pnpm-cache-
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
- name: Build website
shell: bash
run: pnpm build
- name: Send built files to the FTP server
uses: SamKirkland/FTP-Deploy-Action@8e83cea8672e3fbcbb9fdafff34debf6ae4c5f65 # v4.3.5
with:
server: ${{secrets.FTP_HOST}}
username: ${{secrets.FTP_USERNAME}}
password: ${{secrets.FTP_PASSWORD}}
local-dir: ./build/
server-dir: /