Changed: Revert 8c293dad, 1ab170c5 and 4ebde5b9 #52
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger termux.com sync | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
trigger-termux-com-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger termux.com sync | |
if: github.repository == 'termux/termux.github.io' | |
uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.TRIGGER_TERMUX_COM_SYNC_TOKEN }} | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'termux', | |
repo: 'termux.com', | |
workflow_id: 'sync_termux_com.yml', | |
ref: 'master' | |
}) |