From 866f702a83e60968805676254642deff983812c5 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 15 Feb 2022 15:09:17 -0700 Subject: [PATCH 1/5] random commit --- docs/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/README.md b/docs/README.md index f02649af76c6..f1361d580cbc 100644 --- a/docs/README.md +++ b/docs/README.md @@ -75,3 +75,5 @@ positions](https://coder.com/careers#openings)! Want remote development for your organization or enterprise? Visit [our website](https://coder.com) to learn more about Coder. + +woot woot From cfac94b2582f55db9941f747466018dd71f34d85 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 15 Feb 2022 15:35:20 -0700 Subject: [PATCH 2/5] fix: dont checkout submodules --- .github/workflows/docs-preview.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/docs-preview.yaml b/.github/workflows/docs-preview.yaml index 21451e5f5979..6e946b66f852 100644 --- a/.github/workflows/docs-preview.yaml +++ b/.github/workflows/docs-preview.yaml @@ -32,7 +32,6 @@ jobs: repository: coder/m ref: refs/heads/master ssh-key: ${{ secrets.READONLY_M_DEPLOY_KEY }} - submodules: true fetch-depth: 0 - name: Install Node.js From ef10dc0b332f4e7b81b9424fbfd23114ae4163e3 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 15 Feb 2022 15:48:17 -0700 Subject: [PATCH 3/5] fix: try removing actions permissions --- .github/workflows/docs-preview.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-preview.yaml b/.github/workflows/docs-preview.yaml index 6e946b66f852..e9b9bc310545 100644 --- a/.github/workflows/docs-preview.yaml +++ b/.github/workflows/docs-preview.yaml @@ -6,7 +6,6 @@ on: - main permissions: - actions: none checks: none contents: read deployments: none @@ -32,6 +31,7 @@ jobs: repository: coder/m ref: refs/heads/master ssh-key: ${{ secrets.READONLY_M_DEPLOY_KEY }} + submodules: true fetch-depth: 0 - name: Install Node.js From 3d8cb7363c6783d468ed8f01b792ef3f4e4b1b07 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 15 Feb 2022 15:51:39 -0700 Subject: [PATCH 4/5] try again --- .github/workflows/docs-preview.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/docs-preview.yaml b/.github/workflows/docs-preview.yaml index e9b9bc310545..c20f803ba026 100644 --- a/.github/workflows/docs-preview.yaml +++ b/.github/workflows/docs-preview.yaml @@ -8,11 +8,9 @@ on: permissions: checks: none contents: read - deployments: none issues: none packages: none pull-requests: write - repository-projects: none security-events: none statuses: none From cbcba3d0ed4013e7996db4488ea868880000878d Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 15 Feb 2022 16:12:45 -0700 Subject: [PATCH 5/5] fix: add debug step --- .github/workflows/docs-preview.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/docs-preview.yaml b/.github/workflows/docs-preview.yaml index c20f803ba026..098e18d9b9c6 100644 --- a/.github/workflows/docs-preview.yaml +++ b/.github/workflows/docs-preview.yaml @@ -23,6 +23,16 @@ jobs: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.1 + - name: Check secrets presence + id: checksecrets + shell: bash + run: | + if [ "$READONLY_M_DEPLOY_KEY" == "" ]; then + echo "oh no it is false" + else + echo "it is set and not an empty string" + fi + - name: Checkout m uses: actions/checkout@v2 with: