diff --git a/.forgejo/workflows/deploy-rs.yml b/.forgejo/workflows/deploy-rs.yml index c669975f..007004dc 100644 --- a/.forgejo/workflows/deploy-rs.yml +++ b/.forgejo/workflows/deploy-rs.yml @@ -1,10 +1,9 @@ name: deploy-rs run-name: ${{ github.actor }} - deploy-rs on: - push: - # schedule: - # - cron: '0 2 * * *' - # “At 02:00 daily." + schedule: + - cron: '0 2 * * *' + # “At 02:00 daily." jobs: deploy-rs: @@ -104,15 +103,6 @@ jobs: notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] NixOS Deployed' notification_message: 'Deployment completed successfully.' name: "Send Notification - Success" - - if: success() - name: "Push changes to git" - run: | - ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \ - " - cd /etc/nixos/git - git commit -am \"[ACTIONS] deploy-rs updates (`date +%Y-%m-%d`)\" - git push - " - if: failure() uses: https://git.sysctl.io/actions/gotify-action@master with: