Skip to content

Update main.yml

Update main.yml #6

Workflow file for this run

on: push
env:
PUSHOVER_USER_KEY: ${{ secrets.PUSHOVER_USER_KEY }}
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- run: curl -LO https://github.com/czy-29/29bot.com/releases/download/workflow-bin-v5/workflow-bin
- run: chmod +x workflow-bin
- run: ./workflow-bin start
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/czy29/29bot.com.git'
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitee.com/czy29/29bot.com.git'
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITEE_PASSWORD }}
- run: ./workflow-bin ok