Skip to content

Merge pull request #120 from esx-framework/dependabot/npm_and_yarn/ba… #161

Merge pull request #120 from esx-framework/dependabot/npm_and_yarn/ba…

Merge pull request #120 from esx-framework/dependabot/npm_and_yarn/ba… #161

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
# timeout-minutes: 15
steps:
- name: Checkout main branch
uses: actions/checkout@v2
with:
ref: main
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 17.x
- name: Build website
run: |
npm ci --legacy-peer-deps
npm run build
- name: Deploy to FTP
uses: SamKirkland/[email protected]
if: success()
with:
local-dir: ./build/
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
dangerous-clean-slate: true