diff --git a/.gitea/workflows/deploy_to_prod.yaml b/.gitea/workflows/deploy_to_prod.yaml index edcd0ce..999bce4 100644 --- a/.gitea/workflows/deploy_to_prod.yaml +++ b/.gitea/workflows/deploy_to_prod.yaml @@ -28,8 +28,11 @@ jobs: - run: npm run build deploy: - - name: Deploy to production - - run: echo "Deploying to production..." - - run: ls ${{ gitea.workspace }} - - run: cp -r ${{ gitea.workspace }}/dist/ /var/www/html/ - - run: ls /var/www/html + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to production + - run: echo "Deploying to production..." + - run: ls ${{ gitea.workspace }} + - run: cp -r ${{ gitea.workspace }}/dist/ /var/www/html/ + - run: ls /var/www/html