Update blank.yml #11
This file contains 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: sitespeed.io | |
on: push | |
jobs: | |
run-sitespeed: | |
runs-on: ubuntu-latest | |
name: running sitespeed.io | |
steps: | |
- name: code checkout | |
uses: actions/checkout@v4.1.1 | |
# Make directory to upload the test results | |
- name: Make Directory for results | |
run: mkdir -p testResults | |
- name: running sitespeed.io container with arguments and optional Docker options | |
run: docker run --rm -v "$(pwd):/sitespeed.io" sitespeedio/sitespeed.io:30.3.0 --outputFolder sitespeed.io http://getmyservice.in/ -n 1 | |
# Upload the contents of Test Results directory to workspace | |
- name: Output the run Details | |
uses: actions/upload-artifact@v3 | |
with: | |
name: RunReports | |
path: sitespeed.io | |