bumping version --publish #324
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: Sync With Codeberg Mirror | |
on: | |
push: | |
branches: ["main"] | |
workflow_dispatch: | |
schedule: | |
- cron: "0 */6 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: codeberg | |
steps: | |
# Setup Build Environment | |
- name: 🎉 The job was automatically triggered by a ${{ github.event_name }} event. | |
run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- name: 🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub! | |
run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- name: 🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}. | |
run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
submodules: recursive | |
fetch-depth: 0 # 0 means fetch all git history (no shallow clones) | |
- name: 💡 The ${{ github.repository }} repository has been cloned to the runner. | |
run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Enable Git LFS Locking Support | |
run: git config lfs.https://codeberg.org/alexis/catgirl-engine.git/info/lfs.locksverify true | |
# Mirror To Codeberg | |
- uses: pixta-dev/repository-mirroring-action@v1 | |
with: | |
target_repo_url: "[email protected]:alexis/catgirl-engine.git" | |
ssh_private_key: ${{ secrets.CODEBERG_SSH }} |