Skip to content

Lock deploy workflow to ubuntu-22.04 to allow svn to work with 10up a… #37

Lock deploy workflow to ubuntu-22.04 to allow svn to work with 10up a…

Lock deploy workflow to ubuntu-22.04 to allow svn to work with 10up a… #37

Workflow file for this run

name: Deploy to WordPress.org
env:
# Can't specify the VERSION, or the plugin will deploy in that version.
# VERSION: 3.4.1
NODE_VERSION: '20.11.0'
PHP_VERSION: '8.3'
TZ: 'America/New_York'
on:
push:
tags:
- "*"
jobs:
tag:
name: New tag
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install WP-CLI
run: |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
- name: Generate PHP translations
shell: bash
run: cd ${{github.workspace}}/languages && wp i18n make-php .
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}