From 78ac68b6634c3cdef9f99b508e69fbddf1be7f2c Mon Sep 17 00:00:00 2001 From: Simon Solders Date: Tue, 29 Aug 2023 13:19:04 +0200 Subject: [PATCH] fix: uncommented release steps in release.yml (#75) --- .github/workflows/release.yml | 49 +++++++++++++++++------------------ 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c337006..053bd66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }}