Skip to content

Instantly share code, notes, and snippets.

@adamhenson
Last active July 4, 2020 17:16
Show Gist options
  • Save adamhenson/f231d64e904016d5510b74f7cc16c2a1 to your computer and use it in GitHub Desktop.
Save adamhenson/f231d64e904016d5510b74f7cc16c2a1 to your computer and use it in GitHub Desktop.

Revisions

  1. adamhenson revised this gist Jul 4, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion config.yml
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ post-deploy:
    - run:
    name: Run a performance audit
    command: |
    curl -X POST "https://www.automated-lighthouse-check.com/v1/queue/items" --insecure \
    curl -X POST "https://www.foo.software/v1/queue/items" --insecure \
    -H "accept: application/json" -H "Content-Type: application/json" \
    -d "{ \"pages\": \"$FOO_PAGE_TOKENS\", \"tag\": \"Build %23$CIRCLE_BUILD_NUM\" }"
  2. adamhenson revised this gist Dec 28, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion config.yml
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ post-deploy:
    - run:
    name: Run a performance audit
    command: |
    curl -X POST "https://www.foo.software/api/v1/queue/items" --insecure \
    curl -X POST "https://www.automated-lighthouse-check.com/v1/queue/items" --insecure \
    -H "accept: application/json" -H "Content-Type: application/json" \
    -d "{ \"pages\": \"$FOO_PAGE_TOKENS\", \"tag\": \"Build %23$CIRCLE_BUILD_NUM\" }"
  3. adamhenson created this gist May 12, 2019.
    11 changes: 11 additions & 0 deletions config.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    post-deploy:
    docker:
    - image: circleci/buildpack-deps:jessie-curl
    steps:
    - run:
    name: Run a performance audit
    command: |
    curl -X POST "https://www.foo.software/api/v1/queue/items" --insecure \
    -H "accept: application/json" -H "Content-Type: application/json" \
    -d "{ \"pages\": \"$FOO_PAGE_TOKENS\", \"tag\": \"Build %23$CIRCLE_BUILD_NUM\" }"