optimized property filter query #50
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**/*.php' | |
- '**/*.js' | |
- '**/*.scss' | |
- '**/*.css' | |
- theme.json | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Node Setup | |
uses: actions/[email protected] | |
with: | |
cache: 'npm' | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: theme-build | |
path: './' | |
retention-days: 1 | |
deploy: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Download Artifact | |
uses: actions/[email protected] | |
- name: Deploy | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_HOST }} | |
username: ${{ secrets.FTP_USER }} | |
port: ${{ secrets.FTP_PORT }} | |
password: ${{ secrets.FTP_PASS }} | |
server-dir: './wp-content/themes/it-residence/' |