Skip to content

Instantly share code, notes, and snippets.

@davidperezgar
Last active November 24, 2024 12:03
Show Gist options
  • Save davidperezgar/bb304a1ed01ddcc1d634eb17c93c21da to your computer and use it in GitHub Desktop.
Save davidperezgar/bb304a1ed01ddcc1d634eb17c93c21da to your computer and use it in GitHub Desktop.

Revisions

  1. davidperezgar renamed this gist Nov 24, 2024. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. davidperezgar created this gist Nov 24, 2024.
    18 changes: 18 additions & 0 deletions deploy.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    name: Deploy to WordPress.org
    on:
    push:
    tags:
    - "*"
    jobs:
    tag:
    name: New tag
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
    uses: actions/checkout@master
    - run: "composer install --no-dev"
    - name: WordPress Plugin Deploy
    uses: 10up/action-wordpress-plugin-deploy@stable
    env:
    SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
    SVN_USERNAME: ${{ secrets.SVN_USERNAME }}