Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .deployignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.gitignore
composer.lock
phpcs.xml*
.babelrc
.env.dist
.editorconfig
.eslintrc
.prettierrc.js
.wp-env.json
webpack.config.js
docker-compose.yml
docker
test_results
node_modules
32 changes: 32 additions & 0 deletions .github/workflows/plugin-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build WordPress Plugin

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- name: Setup PHP with tools
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: composer:v2

- name: Install dependencies
run: composer install --no-dev -o

- name: Deploy to main-built branch
run: bash <(curl -s "https://raw.githubusercontent.com/Automattic/vip-go-build/master/deploy.sh")