diff --git a/.github/workflows/ok-to-test.yml b/.github/workflows/ok-to-test.yml index 63ae05cbd..87af3a6ba 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 589006576..53f670652 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