forked from aslan/applicant-site
fix CI
This commit is contained in:
parent
caafa73a1b
commit
447f8f5552
|
@ -45,10 +45,10 @@ jobs:
|
||||||
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub
|
||||||
sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
|
sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
|
||||||
|
|
||||||
# - name: Install dependencies
|
- name: Install dependencies
|
||||||
# env:
|
env:
|
||||||
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
|
||||||
# run: composer install # will work
|
run: composer install # will work
|
||||||
|
|
||||||
- name: Setup project
|
- name: Setup project
|
||||||
run: make setup
|
run: make setup
|
||||||
|
@ -58,22 +58,22 @@ jobs:
|
||||||
|
|
||||||
- name: Check tests
|
- name: Check tests
|
||||||
run: make test
|
run: make test
|
||||||
#
|
|
||||||
# deploy:
|
deploy:
|
||||||
# needs: build
|
needs: build
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
#
|
|
||||||
# with:
|
with:
|
||||||
# host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
# username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
# password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
# port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
# script: |
|
script: |
|
||||||
# cd /var/www/test-testabit/
|
cd /var/www/test-testabit/
|
||||||
# git stash
|
git stash
|
||||||
# git pull --rebase
|
git pull --rebase
|
||||||
# git stash clear
|
git stash clear
|
||||||
# make setup-test
|
make setup-test
|
||||||
|
|
Loading…
Reference in New Issue