Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/actions/frontend/runtime/magic_url/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ runs:
echo "github_token=${{ inputs.github_token }}"
echo "migration=${{ inputs.migration_number }}"
echo "magic_url_route=${{ inputs.magic_url_route }}"
echo "github.sha=${{ github.sha }}"
echo "github.event.pull_request.head.sha=${{ github.event.pull_request.head.sha }}"
- name: configure_aws_credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -41,13 +43,10 @@ runs:
# This bucket file location is static and editing it will break the Magic URL. This pushes the entire directory which includes the bundle and remote types if applicable
run: |
aws s3 sync deploy/dist s3://apps.dev.jupiterone.io/static/manual-deploy/${{ github.event.repository.name }}@${{ inputs.migration_number }}/PR-${{ inputs.pr_number }}/
- name: get_branch_of_pr
id: get_branch_of_pr
uses: xt0rted/pull-request-comment-branch@v2
- name: show_magic_url_in_pr
uses: myrotvorets/set-commit-status-action@v2.0.0
with:
sha: ${{ steps.get_branch_of_pr.outputs.head_sha }}
sha: ${{ github.sha }}
token: ${{ inputs.github_token }}
status: success
context: 'Magic URL'
Expand Down