Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
czy-29 committed Jul 6, 2024
1 parent 2f4b3d4 commit d49d4fd
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,12 @@ env:
PUSHOVER_APP_TOKEN: ${{ secrets.PUSHOVER_APP_TOKEN }}

jobs:
deploy:
main:
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'
REMOTE_NAME: gitlab
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitee.com/czy29/29bot.com.git'
REMOTE_NAME: gitee
GIT_USERNAME: czy29
GIT_PASSWORD: ${{ secrets.GITEE_PASSWORD }}
- run: git checkout origin/main
- uses: actions/checkout@v4
- run: ls
- run: ./workflow-bin ok

0 comments on commit d49d4fd

Please sign in to comment.