Skip to content

Commit

Permalink
Merge pull request #49 from inpsyde/wordpress_js_dependencies_update
Browse files Browse the repository at this point in the history
feat: add WordPress Js Dependencies workflow
  • Loading branch information
luislard authored Nov 11, 2024
2 parents 26b40b8 + 7fb3f0d commit d979e8d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/wordpress_js_dependencies_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: WordPress JS Dependencies Update
on:
workflow_dispatch:
inputs:
WP_SCRIPT_DIST_TAG:
description: The tag to use for updating the dependencies. e.g. wp-6.6
default: wp-6.6
required: true
type: string
repository_dispatch:
types: ['update_wp_dependencies']

jobs:
update_wp_dependencies:
uses: inpsyde/reusable-workflows/.github/workflows/update-wordpress-js-dependencies.yml@update_wordpress_js_dependencies
secrets:
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
GITHUB_USER_SSH_KEY: ${{ secrets.DEPLOYBOT_SSH_PRIVATE_KEY }}
GITHUB_USER_SSH_PUBLIC_KEY: ${{ secrets.DEPLOYBOT_SSH_PUBLIC_KEY }}
NPM_REGISTRY_TOKEN: ${{ secrets.DEPLOYBOT_PACKAGES_READ_ACCESS_TOKEN }}
with:
NPM_REGISTRY_DOMAIN: "https://npm.pkg.github.com/"
WP_SCRIPT_DIST_TAG: ${{ inputs.WP_SCRIPT_DIST_TAG }}

0 comments on commit d979e8d

Please sign in to comment.