From 2d6de2299c74b872c5c36b0e34b936c865689260 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 9 Jun 2022 01:35:57 +0900 Subject: [PATCH] chore(dev): update okteto workflow --- .github/workflows/ok-to-test.yml | 6 +++--- .github/workflows/pr-preview-deploy.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ok-to-test.yml b/.github/workflows/ok-to-test.yml index 63ae05cbda..87af3a6ba6 100644 --- a/.github/workflows/ok-to-test.yml +++ b/.github/workflows/ok-to-test.yml @@ -19,8 +19,8 @@ jobs: id: generate_token uses: tibdex/github-app-token@v1 with: - app_id: ${{ secrets.APP_ID }} - private_key: ${{ secrets.PRIVATE_KEY }} + app_id: ${{ secrets.DEPLOYBOT_APP_ID }} + private_key: ${{ secrets.DEPLOYBOT_PRIVATE_KEY }} - name: Slash Command Dispatch uses: peter-evans/slash-command-dispatch@v1 @@ -31,6 +31,6 @@ jobs: # token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # PAT or OAuth token will also work reaction-token: ${{ secrets.GITHUB_TOKEN }} issue-type: pull-request - commands: ok-to-test + commands: deploy named-args: true permission: write diff --git a/.github/workflows/pr-preview-deploy.yml b/.github/workflows/pr-preview-deploy.yml index 5890065764..53f670652d 100644 --- a/.github/workflows/pr-preview-deploy.yml +++ b/.github/workflows/pr-preview-deploy.yml @@ -30,7 +30,7 @@ jobs: - name: Deploy preview environment uses: ikuradon/deploy-preview@latest env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: name: pr-${{ github.event.client_payload.pull_request.number }}-misskey-dev timeout: 15m