Update docs.yml (#3039)

This commit is contained in:
Mihail Gribkov
2024-12-21 04:22:22 +08:00
committed by GitHub
parent b7208d4d99
commit 58a8f10237

View File

@@ -55,15 +55,15 @@ jobs:
- name: Auth DNet bot - name: Auth DNet bot
id: bot_auth id: bot_auth
uses: machine-learning-apps/actions-app-token@master uses: actions/create-github-app-token@v1
with: with:
APP_PEM: ${{ secrets.DNET_BOT_PEM }} private-key: ${{ secrets.DNET_BOT_PEM }}
APP_ID: ${{ secrets.DNET_BOT_ID }} app-id: ${{ secrets.DNET_BOT_ID }}
- name: Push to the Docs Repo - name: Push to the Docs Repo
uses: cpina/github-action-push-to-another-repository@main uses: cpina/github-action-push-to-another-repository@main
env: env:
API_TOKEN_GITHUB: ${{ steps.bot_auth.outputs.app_token }} API_TOKEN_GITHUB: ${{ steps.bot_auth.outputs.token }}
with: with:
source-directory: 'output' source-directory: 'output'
destination-github-username: 'discord-net' destination-github-username: 'discord-net'