Julien Fastré
4cc6fbc7ec
Some checks failed
Prepare release for chill app / update-deps (push) Failing after 13s
31 lines
1.2 KiB
YAML
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 }}:/work --workdir /work
|
|
# - 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
|
|
#
|