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:
|
deploy:
|
||||||
name: Deploy to Production
|
name: Deploy to Production
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: composer:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
composer install
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git .
|
git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git .
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
composer install --no-dev --optimize-autoloader
|
||||||
|
|
||||||
- name: Deploy via FTP
|
- name: Deploy via FTP
|
||||||
env:
|
env:
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue