CI : runs on image that integrate PHP and composer
Some checks failed
Deploy / Deploy to Production (push) Failing after 11s
Some checks failed
Deploy / Deploy to Production (push) Failing after 11s
This commit is contained in:
parent
3d376a45da
commit
db210e9c5a
1 changed files with 6 additions and 4 deletions
|
|
@ -9,16 +9,18 @@ jobs:
|
|||
deploy:
|
||||
name: Deploy to Production
|
||||
runs-on: docker
|
||||
container:
|
||||
image: composer:latest
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
composer install
|
||||
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git .
|
||||
ls -la
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
composer install --no-dev --optimize-autoloader
|
||||
|
||||
- name: Deploy via FTP
|
||||
env:
|
||||
USERNAME: ${{ secrets.USERNAME }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue