diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 98862db5..ebfc51fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,9 +31,8 @@ jobs: # See https://github.com/ae-utbm/sith3/wiki/GitHub-Actions#deployment-action script: | - BASE_DIR="$(dirname "$(realpath "$0")")" export PATH="$HOME/.poetry/bin:$PATH" - pushd $BASE_DIR + pushd ${{secrets.SITH_PATH}} VERSION_LAST=$(git rev-parse HEAD) git pull diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 9356882a..f272c9ee 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -1,8 +1,6 @@ name: Unit Testing on: - push: - branches: [ master ] pull_request: branches: [ master ] @@ -64,6 +62,4 @@ jobs: python -m pip install black==22.6.0 - name: Check linting - run: black --check . - - + run: black --check . \ No newline at end of file