This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
Maya: abc options for Pointcache/Animation family - OP-5920 #574
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 📜 Documentation | |
on: | |
pull_request: | |
branches: [develop] | |
types: [review_requested, ready_for_review] | |
paths: | |
- 'website/**' | |
push: | |
branches: [main] | |
paths: | |
- 'website/**' | |
workflow_dispatch: | |
jobs: | |
check-build: | |
if: github.event_name != 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
cache: yarn | |
- name: Test 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 | |
deploy-website: | |
if: github.event_name != 'pull_request' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🚚 Get latest code | |
uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
cache: yarn | |
- 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 | |
- name: 📂 Sync files | |
uses: SamKirkland/[email protected] | |
with: | |
server: ftp.openpype.io | |
username: ${{ secrets.ftp_user }} | |
password: ${{ secrets.ftp_password }} | |
local-dir: ./website/build/ |