change github action to deploy website

This commit is contained in:
Milan Kolar 2022-02-18 12:35:03 +01:00
parent aa4ed1fc32
commit f5b1ad5fef

View file

@ -46,14 +46,8 @@ jobs:
- name: 🔨 Build
run: |
cd website
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run build
yarn build
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.0.0