diff --git a/assets/images/help/repository/commit-hello-world-file.png b/assets/images/help/repository/commit-hello-world-file.png new file mode 100644 index 0000000000..72556073f1 Binary files /dev/null and b/assets/images/help/repository/commit-hello-world-file.png differ diff --git a/assets/images/help/repository/manual-workflow-trigger.png b/assets/images/help/repository/manual-workflow-trigger.png new file mode 100644 index 0000000000..306eb38764 Binary files /dev/null and b/assets/images/help/repository/manual-workflow-trigger.png differ diff --git a/assets/images/help/repository/say-hello-job.png b/assets/images/help/repository/say-hello-job.png new file mode 100644 index 0000000000..a9450b3360 Binary files /dev/null and b/assets/images/help/repository/say-hello-job.png differ diff --git a/assets/images/help/repository/workflow-job-listing.png b/assets/images/help/repository/workflow-job-listing.png new file mode 100644 index 0000000000..3e4d197665 Binary files /dev/null and b/assets/images/help/repository/workflow-job-listing.png differ diff --git a/assets/images/help/repository/workflow-log-listing.png b/assets/images/help/repository/workflow-log-listing.png new file mode 100644 index 0000000000..aeb734fd8a Binary files /dev/null and b/assets/images/help/repository/workflow-log-listing.png differ diff --git a/assets/images/help/repository/workflow-run-listing.png b/assets/images/help/repository/workflow-run-listing.png new file mode 100644 index 0000000000..328178f3b7 Binary files /dev/null and b/assets/images/help/repository/workflow-run-listing.png differ diff --git a/content/actions/quickstart.md b/content/actions/quickstart.md index 5dbd3b07c2..8b2bdc7cdb 100644 --- a/content/actions/quickstart.md +++ b/content/actions/quickstart.md @@ -75,3 +75,69 @@ The super-linter workflow you just added runs any time code is pushed to your re - "[Learn {% data variables.product.prodname_actions %}](/actions/learn-github-actions)" for an in-depth tutorial - "[Guides](/actions/guides)" for specific uses cases and examples - [github/super-linter](https://github.com/github/super-linter) for more details about configuring the Super-Linter action + + diff --git a/javascripts/experiment.js b/javascripts/experiment.js index 2a136fdccd..b9aeea81fb 100644 --- a/javascripts/experiment.js +++ b/javascripts/experiment.js @@ -41,4 +41,21 @@ export default function () { // const xbucket = bucket(testName) // if (xbucket === TREATMENT) { ... } // x.addEventListener('click', evt => evt.preventDefault(); await sendSuccess(testName); evt()) + + const treatment = document.getElementById('quickstart-treatment') + if (!treatment) return + + const testName = 'quickstart-hello' + const xbucket = bucket(testName) + + if (xbucket === TREATMENT) { + Array.from( + document.querySelectorAll('#article-contents > *') + ).forEach(el => { el.hidden = true }) + treatment.hidden = false + } + + document.documentElement.addEventListener('copy', () => { + sendSuccess(testName) + }) }