Update Support for WooCommerce #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish to WordPress.org | |
| on: | |
| release: | |
| types: [released] | |
| jobs: | |
| tag: | |
| name: New Release | |
| runs-on: ubuntu-latest | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| steps: | |
| - uses: act10ns/slack@v2 | |
| with: | |
| status: starting | |
| if: ${{ always() }} | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js environment | |
| uses: actions/[email protected] | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Build Plugin | |
| uses: ./.github/actions/make-build | |
| - name: Install SVN | |
| run: sudo apt-get update && sudo apt-get install -y subversion | |
| - name: WordPress Plugin Deploy | |
| id: deploy | |
| uses: 10up/action-wordpress-plugin-deploy@stable | |
| env: | |
| SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | |
| SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
| SLUG: rave-woocommerce-payment-gateway | |
| - name: push build status to Slack | |
| uses: 8398a7/action-slack@v3 | |
| with: | |
| status: ${{ job.status }} | |
| fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest | |
| env: | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| if: always() |