Skip to content

Commit

Permalink
Update deploy-to-wp-pronamic-directory.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Sep 30, 2024
1 parent 98b613a commit 26e49e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-to-wp-pronamic-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
url: https://wp.pronamic.directory/plugins/pronamic-pay-with-mollie-for-gravity-forms/

permissions:
contents: 'read'
id-token: 'write'

env:
Expand Down Expand Up @@ -55,3 +54,7 @@ jobs:
- name: 'Copy latest'
if: inputs.latest
run: 'gcloud storage cp gs://wp.pronamic.download/plugins/${{ inputs.slug }}/${{ env.FILENAME }} gs://wp.pronamic.download/plugins/${{ inputs.slug }}/${{ inputs.slug }}.zip'

- name: 'Set latest'
if: inputs.latest
run: 'curl --netrc --data "version=${{ inputs.version }}" --request PATCH https://wp.pronamic.directory/wp-json/pronamic-wp-extensions/v1/plugins/${{ inputs.slug }}

0 comments on commit 26e49e0

Please sign in to comment.