Skip to content

Commit

Permalink
Update our deploy action to run node 16 and update one action
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Jun 21, 2023
1 parent 435d077 commit e6b5e9d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/dotorg-push-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
name: Deploy to WordPress.org

on:
release:
types: [published]

jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup node version
uses: actions/setup-node@v3
with:
node-version: 16

- name: Build
run: |
npm install
npm run build
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
Expand All @@ -21,6 +30,7 @@ jobs:
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}

- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
Expand Down

0 comments on commit e6b5e9d

Please sign in to comment.