From 25ed0a079c23514c4a82ef82082b99eae5a98bef Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Mon, 21 Mar 2022 09:19:05 +0000 Subject: [PATCH 1/2] Deploy: Remove broken NPM caching Requires a `package-lock.json` file, but this is gitignored. Caching likely isn't needed for this occasional workflow anyway. --- .github/workflows/deploy.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 3c80b41..b81d3b7 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,9 +10,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Configure NPM cache - uses: c-hive/gha-npm-cache@v1 - - name: Install Dependencies run: npm install From 2f3e90effc4c7f942f610257b74338b218003508 Mon Sep 17 00:00:00 2001 From: Gary Jones Date: Mon, 21 Mar 2022 09:25:02 +0000 Subject: [PATCH 2/2] Deploy: Add manual trigger --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b81d3b7..b855ab4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -2,6 +2,9 @@ name: Deploy to WordPress.org on: release: types: [released] + + # Allow manually triggering the workflow. + workflow_dispatch: jobs: tag: name: New tag