From 829fa51120c2fb7362a6b4e3d0290bfed16641ec Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 13 Oct 2020 14:15:57 -0700 Subject: [PATCH 1/4] Test `--size-only` flag Testing only. See discussion in #2. --- .github/workflows/sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index d89ef526c..9b3067b70 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - test-size-only jobs: sync: @@ -15,6 +16,7 @@ jobs: args: >- --acl public-read --follow-symlinks + --size-only --exclude '.git/*' --exclude '.github/*' --exclude '.gitignore' From 9cd8596583f23f5dac653f94542e9aac52177f1f Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Fri, 16 Oct 2020 12:40:53 -0700 Subject: [PATCH 2/4] Test mtime --- .github/workflows/sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 9b3067b70..82269490c 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - run: ls -al --full-time + - run: ls -al --full-time json-docs/ember/3.9.1/classes - uses: jakejarvis/s3-sync-action@v0.5.1 with: args: >- From 74c1d06caafe0f40fdebdc83fd32e07dd7c946d4 Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 20 Oct 2020 00:59:45 -0700 Subject: [PATCH 3/4] Test git-restore-mtime --- .github/workflows/sync.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 82269490c..6ff3d841c 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -10,7 +10,15 @@ jobs: sync: runs-on: ubuntu-latest steps: + - run: | + sudo apt-get update -y + sudo apt-get install -y git-restore-mtime - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: ls -al --full-time + - run: ls -al --full-time json-docs/ember/3.9.1/classes + - run: git-restore-mtime - run: ls -al --full-time - run: ls -al --full-time json-docs/ember/3.9.1/classes - uses: jakejarvis/s3-sync-action@v0.5.1 @@ -18,7 +26,6 @@ jobs: args: >- --acl public-read --follow-symlinks - --size-only --exclude '.git/*' --exclude '.github/*' --exclude '.gitignore' From c906559e276352d0a53446d19dcf0ac44417fa9f Mon Sep 17 00:00:00 2001 From: Godfrey Chan Date: Tue, 20 Oct 2020 01:03:26 -0700 Subject: [PATCH 4/4] oops --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 6ff3d841c..060704788 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -18,7 +18,7 @@ jobs: fetch-depth: 0 - run: ls -al --full-time - run: ls -al --full-time json-docs/ember/3.9.1/classes - - run: git-restore-mtime + - run: git restore-mtime - run: ls -al --full-time - run: ls -al --full-time json-docs/ember/3.9.1/classes - uses: jakejarvis/s3-sync-action@v0.5.1