Skip to content

Commit

Permalink
PPNA-666 Add godtools/download/action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfijas committed Sep 27, 2023
1 parent 9177a38 commit da3fb10
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,20 @@ steps:
godtools-key: ${{ secrets.GODTOOLS_KEY }}
```

### Download S3 artifacts
### Download artifacts

Allows to download artifacts from S3, like EventKeeper's `events`. It requires [setup](#setup) action.
Allows to download artifacts, like EventKeeper's `events`. It requires [setup](#setup) action.

Example usage:

```yaml
---
steps:
- name: Download events
uses: PiwikPRO/actions/godtools/push@master
uses: PiwikPRO/actions/godtools/download@master
env:
HTTP_PROXY: ${{ secrets.FORWARD_PROXY_HTTP }}
HTTPS_PROXY: ${{ secrets.FORWARD_PROXY_HTTPS }}
with:
godtools-config: ${{ secrets.GODTOOLS_CONFIG }}
godtools-key: ${{ secrets.GODTOOLS_KEY }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Piwik PRO godtools s3 download'
description: 'Downloads content from s3'
name: 'Piwik PRO godtools download'
description: 'Downloads content from artifactory'
inputs:
godtools-config:
required: true
Expand All @@ -17,7 +17,7 @@ inputs:
runs:
using: "composite"
steps:
- name: Download data fom s3
- name: Download data fom artifactory
shell: bash
run: |
godtools s3 download ${{ inputs.data }} --ref ${{ inputs.ref }}
Expand Down

0 comments on commit da3fb10

Please sign in to comment.