From ae15a50236fd2c0c36578b96fe1ef1aaf0176e30 Mon Sep 17 00:00:00 2001
From: Jonathan Yu <jawnsy@cpan.org>
Date: Fri, 17 Dec 2021 02:29:44 +0000
Subject: [PATCH] chore: use readonly deploy key for preview

---
 .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 2d9df9352e65..b9bae52ef114 100644
--- a/.github/workflows/docs-preview.yaml
+++ b/.github/workflows/docs-preview.yaml
@@ -30,7 +30,7 @@ jobs:
         with:
           repository: coder/m
           ref: refs/heads/master
-          token: ${{ secrets.GH_ACCESS_TOKEN }}
+          ssh-key: ${{ secrets.READONLY_M_DEPLOY_KEY }}
           submodules: true
           fetch-depth: 0