Skip to content

fix yaml

fix yaml #48

Workflow file for this run

name: "Deploy Anima Addon"
on: push
jobs:
deploy-anima-addon:
name: Depoly Anima
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout Addon repo
uses: actions/checkout@v3
with:
repository: ceceppa/anima-godot-4
path: ./anima-godot-4
token: ${{ secrets.TOKEN }}
- name: Copy addon files
shell: bash {0}
run: |
echo "Updating addon files"
cd anima-godot-4
git config user.name "GitHub Actions Bot"
git config user.email "<senesealessandro@gmail.com>"
rm -rf *
cp -r ../addons .
cp ../LICENSE .
cp ../README.ADDON-REPO.md README.md
git add .
git commit -m "Update addon files"
git push origin main