Skip to content

Update buildzip.yml #26

Update buildzip.yml

Update buildzip.yml #26

Workflow file for this run

name: Deploy to WordPress.org
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
tag:
name: Deploy plugin for new Tag
runs-on: ubuntu-latest
steps:

Check failure on line 12 in .github/workflows/deploy-org.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-org.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
- uses: actions/checkout@v4
- name: Use Node.js 12.1.0
uses: actions/setup-node@v4
with:
node-version: 12.1.0
- uses: actions/checkout@master
- name: Npm install and build
run: |
rm -r package-lock.json
npm i
npm run build
npm run makepot
- name: Use desired version of php
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Composer install and build # Remove or modify this step as needed
run: |
composer install
composer update
composer dump-autoload -o
composer install --no-dev
composer dump-autoload -o
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
dry-run: true
generate-zip: false
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: wedevs-project-manager
- name: Generate zip
uses: 10up/action-wordpress-plugin-build-zip@stable
env:
SLUG: wedevs-project-manager