diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 907f58c..d2df8c6 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -8,11 +8,8 @@ jobs: deploy-via-ssh: runs-on: ubuntu-latest steps: - - run: echo "The job was triggered by a ${{ gitea.event_name }} event." - - run: echo "Branch ${{ gitea.ref }}, Repository ${{ gitea.repository }}" - name: Check out repository code uses: actions/checkout@v4 - - run: echo "Repository ${{ gitea.repository }} has been cloned to the runner." - name: Install SSH client and Git run: | sudo apt-get update @@ -27,9 +24,8 @@ jobs: run: > ssh -p ${{ secrets.SSH_PORT }} ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF' - cd ${{ gitea.secrets.PROJECT_PATH }} + cd ${{ secrets.PROJECT_PATH }} echo "Pulling latest changes from main..." - echo $PWD git pull origin master echo "Restarting Docker Compose services..." docker compose down