Skip to content

Dry run to test automate process #1

Dry run to test automate process

Dry run to test automate process #1

Workflow file for this run

name: Deploy and Release Plugin to WP.org
on:
push:
branches:
- chore/automate-release-process # change to your default branch if needed
jobs:
releaseToWPOrg:
name: Release to WordPress.org
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install SVN ( Subversion )
run: |
sudo apt-get update
sudo apt-get install subversion
- name: 🔒 Dry run enabled — skipping deploy to WordPress.org
run: echo "Dry run mode: not deploying to WordPress.org"

Check failure on line 19 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: dokan-invoice
- name: Create GitHub release
if: false # Change to `true` to enable real GitHub release
uses: softprops/action-gh-release@v2
with:
files: ${{steps.deploy.outputs.zip-path}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}