PHP Classes

File: .github/workflows/release.yml

Recommend this page to a friend!
  Classes of Victor Andeloci   Project P Wordpress Podcast Theme   .github/workflows/release.yml   Download  
File: .github/workflows/release.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Project P Wordpress Podcast Theme
Publish pages for a podcast in a WordPress site
Author: By
Last change: yt music link
playlist page
Date: 9 months ago
Size: 1,173 bytes
 

Contents

Class file image Download
name: Build WP theme package & Release on: pull_request: branches: [ main, master ] types: [ closed ] workflow_dispatch: jobs: build_release: runs-on: ubuntu-latest env: PACKAGE_LABEL: Project P. PACKAGE_NAME: project_p RELEASE_TAG: 1.2.1 steps: - uses: actions/checkout@v2 - name: NPM build run: | sudo apt-get install nodejs sudo apt-get install npm npm install npm run build - name: Zip build run: | sudo apt-get install zip -y mkdir build zip -r build/${{ env.PACKAGE_NAME }}-${{ env.RELEASE_TAG }}.zip . -x "*build*" -x "*.git/**" -x "*.github/**" -x "*_content/**" -x "*_dev/**" -x "*.git*" -x "*.md" -x "composer.*" -x "*node_modules/**" -x "gulpfile.js" -x "package.json" -x "package-lock.json" - name: Create a GitHub release uses: ncipollo/release-action@v1 with: artifacts: "build/${{ env.PACKAGE_NAME }}-${{ env.RELEASE_TAG }}.zip" tag: ${{ env.RELEASE_TAG }} name: ${{ env.PACKAGE_LABEL }} - v${{ env.RELEASE_TAG }}