chore(dev): update okteto workflow

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

View file

@ -19,8 +19,8 @@ jobs:
id: generate_token id: generate_token
uses: tibdex/github-app-token@v1 uses: tibdex/github-app-token@v1
with: with:
app_id: ${{ secrets.APP_ID }} app_id: ${{ secrets.DEPLOYBOT_APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }} private_key: ${{ secrets.DEPLOYBOT_PRIVATE_KEY }}
- name: Slash Command Dispatch - name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v1 uses: peter-evans/slash-command-dispatch@v1
@ -31,6 +31,6 @@ jobs:
# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # PAT or OAuth token will also work # token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} # PAT or OAuth token will also work
reaction-token: ${{ secrets.GITHUB_TOKEN }} reaction-token: ${{ secrets.GITHUB_TOKEN }}
issue-type: pull-request issue-type: pull-request
commands: ok-to-test commands: deploy
named-args: true named-args: true
permission: write permission: write

View file

@ -30,7 +30,7 @@ jobs:
- name: Deploy preview environment - name: Deploy preview environment
uses: ikuradon/deploy-preview@latest uses: ikuradon/deploy-preview@latest
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
name: pr-${{ github.event.client_payload.pull_request.number }}-misskey-dev name: pr-${{ github.event.client_payload.pull_request.number }}-misskey-dev
timeout: 15m timeout: 15m