Merge pull request #64 from el-buen-conejo/back #8
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: Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
if: github.repository == 'el-buen-conejo/elbuenconejo-backend' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Permissions build script | |
run: | |
chmod +x ./remote_build.sh | |
- name: Run build script | |
run: | |
./remote_build.sh | |
- name: Commit and Push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Update build | |
commit_user_name: Miguel Angel Lopez [GitHub Actions] | |
commit_user_email: [email protected] | |
commit_author: miguellopezmdev <[email protected]> |