From fcf1add9b49c6fc62a55e28bbf141b609dd91ce2 Mon Sep 17 00:00:00 2001 From: Chris Houston Date: Wed, 20 May 2020 21:43:22 -0400 Subject: [PATCH] Updating the yml file and removing the old one. --- .github/workflows/create-umbraco-package.yml | 29 -------------------- .github/workflows/our.umbraco.deploy.yml | 4 ++- 2 files changed, 3 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/create-umbraco-package.yml diff --git a/.github/workflows/create-umbraco-package.yml b/.github/workflows/create-umbraco-package.yml deleted file mode 100644 index bd7dd90..0000000 --- a/.github/workflows/create-umbraco-package.yml +++ /dev/null @@ -1,29 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Create Umbraco Package - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - release: - types: [published] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ubuntu-latest - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - - name: Upload the Umbraco Package File as an Artifact to GitHub - uses: actions/upload-artifact@v2 - with: - # Artifact name - name: FontAwesomeIconPack - # A file, directory or wildcard pattern that describes what to upload - path: source/*.* diff --git a/.github/workflows/our.umbraco.deploy.yml b/.github/workflows/our.umbraco.deploy.yml index f8afb65..2097c1f 100644 --- a/.github/workflows/our.umbraco.deploy.yml +++ b/.github/workflows/our.umbraco.deploy.yml @@ -3,7 +3,9 @@ name: Publish Font Awesome Icon Pack to Our.Umbraco Package Repository env: PKG_VERSION: 5.13.${{ github.run_number }} -on: [published] +on: + release: + types: [published] jobs: deploy: