Skip to content

Instantly share code, notes, and snippets.

@nem035
Created November 26, 2018 20:13
Show Gist options
  • Select an option

  • Save nem035/545e21d17bd43b97a69de23bafbf0690 to your computer and use it in GitHub Desktop.

Select an option

Save nem035/545e21d17bd43b97a69de23bafbf0690 to your computer and use it in GitHub Desktop.

Revisions

  1. nem035 revised this gist Nov 26, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sample-circleci-config-deploy-site-to-s3.js
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    async function workflow() {
    const workspace = await install();
    await Promise.all([build(workspace), lint(workspace)]);
    await Promise.all([build(workspace), lint(workspace)]);
    if (isDeployBranch) {
    await deploy(workspace);
    }
  2. nem035 created this gist Nov 26, 2018.
    7 changes: 7 additions & 0 deletions sample-circleci-config-deploy-site-to-s3.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    async function workflow() {
    const workspace = await install();
    await Promise.all([build(workspace), lint(workspace)]);
    if (isDeployBranch) {
    await deploy(workspace);
    }
    }