Skip to content

Commit

Permalink
Fix GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ars92 committed Aug 12, 2024
1 parent e4ca5a8 commit 93014b1
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Deploy to WordPress.org
on:
workflow_dispatch:
on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer
run: ${{ github.workspace }}/.github/workflows/deploy-wp.sh
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
- name: Checkout code
uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
tools: composer
- name: Execute script to deploy on WordPress.org
run: ${{ github.workspace }}/.github/workflows/deploy-wp.sh
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}

0 comments on commit 93014b1

Please sign in to comment.