Updater #61
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: Updater | |
on: | |
schedule: | |
- cron: '3 23 * * *' | |
workflow_dispatch: | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- source: ohmyzsh/ohmyzsh | |
target: ohmyzsh | |
steps: | |
- run: | | |
git clone --bare https://github.com/${{ matrix.source }}.git --single-branch | |
cd ohmyzsh.git | |
echo "Clone successful - Starting push" | |
git push --mirror https://litetex:${{ secrets.CB_TOKEN }}@codeberg.org/litetex/${{ matrix.target }}.git | |
echo "Done" |