Skip to content

Commit

Permalink
fix: uncommented release steps in release.yml (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssolders authored Aug 29, 2023
1 parent 1f60c2a commit 78ac68b
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,33 +55,32 @@ jobs:
files: ${{ steps.build_zip.outputs.zip_path }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# release:
# runs-on: ubuntu-latest
# environment: wordpress-public-release
# needs: prerelease

# steps:
# - name: Checkout code
# uses: actions/checkout@v2
release:
runs-on: ubuntu-latest
environment: wordpress-public-release
needs: prerelease
steps:
- name: Checkout code
uses: actions/checkout@v2

# - name: Use Node.js
# uses: actions/setup-node@v2
# with:
# node-version: 18
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18

# - name: Install Dependencies
# run: npm ci
- name: Install Dependencies
run: npm ci

# - name: Semantic Release
# run: npx semantic-release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Semantic Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Update local repository
# uses: actions/checkout@v2
- name: Update local repository
uses: actions/checkout@v2

# - name: Deploy Plugin to WordPress SVN
# uses: 10up/action-wordpress-plugin-deploy@stable
# env:
# svn_username: ${{ secrets.SVN_USERNAME }}
# svn_password: ${{ secrets.SVN_PASSWORD }}
- name: Deploy Plugin to WordPress SVN
uses: 10up/action-wordpress-plugin-deploy@stable
env:
svn_username: ${{ secrets.SVN_USERNAME }}
svn_password: ${{ secrets.SVN_PASSWORD }}

0 comments on commit 78ac68b

Please sign in to comment.