Skip to content

Commit dfe5de6

Browse files
authored
Update pack-libs.yml
1 parent 85c014b commit dfe5de6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/pack-libs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,3 +209,13 @@ jobs:
209209
run: |
210210
ref="$(gh release view --repo static-php/static-php-cli-hosted --json tagName --jq '.tagName')"
211211
gh release upload "$ref" "dist/${{ matrix.lib }}-${{ steps.process-env.outputs.ARCH }}-${{ steps.process-env.outputs.OS }}.${{ steps.process-env.outputs.SUFFIX }}" --repo static-php/static-php-cli-hosted --clobber
212+
213+
- name: "Deploy to self-hosted OSS"
214+
uses: static-php/[email protected]
215+
with:
216+
aws_key_id: ${{ secrets.AWS_KEY_ID }}
217+
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
218+
aws_bucket: ${{ secrets.AWS_BUCKET }}
219+
source_dir: "dist/"
220+
destination_dir: static-php-cli/pre-built/
221+
endpoint: ${{ secrets.AWS_ENDPOINT }}

0 commit comments

Comments
 (0)