chill-skeleton-basic/.gitea/workflows/release_preparation.yaml
2023-10-24 16:59:04 +02:00

31 lines
1.2 KiB
YAML

name: Prepare release for chill app
run-name: Update composer.lock and dependencies for preparing a release
on:
push:
branches:
- 'release/**'
jobs:
update-deps:
steps:
- name: check out repository
uses: https://github.com/actions/checkout@v4
- name: run composer update to update composer.lock
uses: https://github.com/addnab/docker-run-action@v3
with:
run: |
ls
echo {$PWD}
composer update
image: gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
# add an option to mount the workspace inside the path /var/www/app, where the workdir is
options: --volume ${{ gitea.workspace }}:/var/www/app --working-dir /var/www/app
# - name: commit changed files
# uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
# with:
# commit_message: "update composer.lock and file (automatic update)"
# commit_user_name: Action Bot
# commit_user_email: bot@chill.social
#