chill-skeleton-basic/.gitea/workflows/release_preparation.yaml
Julien Fastré 0429802206
Some checks failed
Prepare release for chill app / update-deps (push) Failing after 12s
workdir
2023-10-24 17:03:44 +02:00

33 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: read local files
run: ls -lah
- name: run composer update to update composer.lock
uses: https://github.com/addnab/docker-run-action@v3
with:
run: |
ls -lah
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
#