Skip to content

Moving everything to main folder #2

Moving everything to main folder

Moving everything to main folder #2

name: Build and Deploy Production
on:
push:
branches:
- 'main'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
# Check out the codebase from github.
- uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0\
# Dependencies and compiled assets are commited directly in repository.
#- name: Use Node.js
# uses: actions/setup-node@v2
#- name: Check Node Version
# run: node -v
# Install composer dependencies
#- name: Composer Process
# run: cd wordpress/wp-content/themes/crate && composer install -n
# Install node modules and build theme.
#- name: Node Process
# run: npm install --prefix wordpress/wp-content/themes/crate && npm run compile:css --prefix wordpress/wp-content/themes/kalapress-theme
- name: GitHub Action Deploy to WP Engine
uses: wpengine/github-action-wpe-site-deploy@v3
with:

Check failure on line 28 in .github/workflows/build-and-deploy-production.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy Production

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-deploy-production.yml (Line: 28, Col: 14): Unexpected value ''
# WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }}
# WPE_ENV: foodwise
# SRC_PATH: "wordpress/"