chore(dev): update okteto workflow

This commit is contained in:
syuilo 2022-06-09 01:35:57 +09:00
parent 362120c608
commit c26570abff
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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