Prepare deployments for WordPress.org
All checks were successful
All checks were successful
This commit is contained in:
parent
ba922e6030
commit
ce1e59350d
2 changed files with 42 additions and 0 deletions
21
.forgejo/workflows/assets.yml
Normal file
21
.forgejo/workflows/assets.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Plugin asset/readme update on WordPress.org
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trunk:
|
||||||
|
name: Push assets to trunk on WordPress.org
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: WordPress.org plugin asset/readme update
|
||||||
|
uses: https://github.com/10up/action-wordpress-plugin-asset-update@stable
|
||||||
|
env:
|
||||||
|
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
|
||||||
|
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
|
||||||
|
SLUG: activitypub-event-bridge
|
21
.forgejo/workflows/deploy.yml
Normal file
21
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Deploy to WordPress.org
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tag:
|
||||||
|
name: New tag
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
|
||||||
|
- name: WordPress Plugin Deploy
|
||||||
|
uses: https://github.com/10up/action-wordpress-plugin-deploy@stable
|
||||||
|
env:
|
||||||
|
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
|
||||||
|
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
|
||||||
|
SLUG: activitypub-event-bridge
|
Loading…
Reference in a new issue