diff --git a/.github/workflows/ok-to-test.yml b/.github/workflows/ok-to-test.yml index 63ae05cbda2b8e88f4e338e68dac09354a4be3bd..87af3a6ba6acb05e1b1c29899530cfc7e6022fc9 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 5890065764354dfd9298b6c4244e150430f0356a..53f670652df13bbc4aa347ad1cc57cff29132d4c 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