chore: Add support for C8i and C8i-flex instance types #570
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WebsitePreviewTrigger | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
preview-trigger: | |
runs-on: ubuntu-latest | |
if: github.repository == 'aws/karpenter-provider-aws' | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
fetch-depth: 0 | |
- name: Save info about the PR as an artifact for other workflows that run on workflow_run to download them | |
env: | |
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} | |
COMMIT_ID: ${{ github.event.pull_request.head.sha }} | |
run: | | |
mkdir -p /tmp/artifacts | |
{ echo "$PULL_REQUEST_NUMBER"; echo "$COMMIT_ID"; } >> /tmp/artifacts/website-metadata.txt | |
cat /tmp/artifacts/website-metadata.txt | |
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
with: | |
name: artifacts | |
path: /tmp/artifacts |