use with.args
This commit is contained in:
parent
921b5c39de
commit
a912f29bd9
@ -16,17 +16,9 @@ jobs:
|
||||
- name: echo workspace env
|
||||
run: echo ${{ gitea.workspace }}
|
||||
- name: run composer update to update composer.lock
|
||||
uses: https://github.com/addnab/docker-run-action@v3
|
||||
uses: docker://gitea.champs-libres.be/chill-project/chill-skeleton-basic/base-image:latest
|
||||
with:
|
||||
run: |
|
||||
ls -lah
|
||||
echo {$PWD}
|
||||
composer list
|
||||
sleep 240
|
||||
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
|
||||
args: composer update
|
||||
# - name: commit changed files
|
||||
# uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
||||
# with:
|
||||
|
Loading…
Reference in New Issue
Block a user