Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Aug 2, 2024
1 parent 14eea88 commit 0054bd8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/scripts/test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

passthru( "gh release download --pattern 'pronamic-pay-with-rabo-smart-pay-for-woocommerce.1.0.0.zip'" );
25 changes: 25 additions & 0 deletions .github/workflows/deploy-to-wordpress-org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to WordPress.org

on:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: WordPress.org plugin directory
url: https://wordpress.org/plugins/pronamic-pay-with-rabo-smart-pay-for-woocommerce/

steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
.wordpress-org
readme.txt
- name: Deploy
run: php ../scripts/test.php
shell: bash

0 comments on commit 0054bd8

Please sign in to comment.