1
0
mirror of https://github.com/go-task/task.git synced 2025-08-08 22:36:57 +02:00

Adjustments to GitHub Actions

This commit is contained in:
Andrey Nering
2023-03-20 22:45:23 -03:00
parent fc50b846c4
commit 1081231b7c
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
name: Sync Translated Documents name: Sync Translations
on: on:
workflow_dispatch: workflow_dispatch:
@@ -15,7 +15,7 @@ jobs:
with: with:
version: 3.x version: 3.x
- name: Sync Translated Documents - name: Sync Translations
run: task crowdin:pull run: task crowdin:pull
env: env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
@@ -31,4 +31,4 @@ jobs:
delete-branch: true delete-branch: true
author: task-bot <106601941+task-bot@users.noreply.github.com> author: task-bot <106601941+task-bot@users.noreply.github.com>
labels: translation labels: translation
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GH_PAT }}

View File

@@ -29,7 +29,7 @@ jobs:
- name: Website Deploy - name: Website Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GH_PAT }}
publish_dir: ./docs/build publish_dir: ./docs/build
user_name: task-bot user_name: task-bot
user_email: 106601941+task-bot@users.noreply.github.com user_email: 106601941+task-bot@users.noreply.github.com