feat(ci): run build workflow on every push and switch to amd64 runner… #6
This file contains hidden or 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: Git Mirror | |
# Mirror git repo to other sites | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
mirror: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: "Sync repo" | |
uses: yesolutions/mirror-action@master | |
with: | |
REMOTE: ${{ secrets.CODEBERG_URL }} | |
GIT_USERNAME: goetz | |
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }} |