fix: change to apt-get and change cache:flush to release from current, to work on first release
This commit is contained in:
@@ -68,8 +68,8 @@ jobs:
|
|||||||
rm typo3.tar.gz
|
rm typo3.tar.gz
|
||||||
- name: Install ssh agent and rsync
|
- name: Install ssh agent and rsync
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt-get update
|
||||||
apt install -y openssh-client rsync
|
apt-get install -y openssh-client rsync
|
||||||
- name: Upload release
|
- name: Upload release
|
||||||
uses: deployphp/action@v1
|
uses: deployphp/action@v1
|
||||||
with:
|
with:
|
||||||
@@ -93,8 +93,8 @@ jobs:
|
|||||||
rm typo3.tar.gz
|
rm typo3.tar.gz
|
||||||
- name: Install ssh agent and rsync
|
- name: Install ssh agent and rsync
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt-get update
|
||||||
apt install -y openssh-client rsync
|
apt-get install -y openssh-client rsync
|
||||||
- name: Switch to release
|
- name: Switch to release
|
||||||
uses: deployphp/action@v1
|
uses: deployphp/action@v1
|
||||||
with:
|
with:
|
||||||
@@ -119,8 +119,8 @@ jobs:
|
|||||||
rm typo3.tar.gz
|
rm typo3.tar.gz
|
||||||
- name: Install ssh agent and rsync
|
- name: Install ssh agent and rsync
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt-get update
|
||||||
apt install -y openssh-client rsync
|
apt-get install -y openssh-client rsync
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: deployphp/action@v1
|
uses: deployphp/action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ jobs:
|
|||||||
composer validate --no-check-publish && composer install --prefer-dist --no-progress --ignore-platform-reqs
|
composer validate --no-check-publish && composer install --prefer-dist --no-progress --ignore-platform-reqs
|
||||||
- name: Install ssh agent, rsync
|
- name: Install ssh agent, rsync
|
||||||
run: |
|
run: |
|
||||||
apt update
|
apt-get update
|
||||||
apt install -y openssh-client rsync
|
apt-get install -y openssh-client rsync
|
||||||
- name: Switch to release
|
- name: Switch to release
|
||||||
uses: deployphp/action@v1
|
uses: deployphp/action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ set('rsync', [
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
task('typo3:cache:flush', function() {
|
task('typo3:cache:flush', function() {
|
||||||
cd('current');
|
cd('{{release_path}}');
|
||||||
run('{{bin/php}} bin/typo3 cache:flush');
|
run('{{bin/php}} bin/typo3 cache:flush');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user