feat: Add API endpoint for updating task order (v2) #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Send Email | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| send-email: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send email notification | |
| uses: dawidd6/action-send-mail@v3 | |
| with: | |
| # SMTP Configuration | |
| server_address: smtp.gmail.com | |
| server_port: 465 | |
| username: ${{ secrets.MAIL_USERNAME }} | |
| password: ${{ secrets.MAIL_PASSWORD }} | |
| # Email details | |
| subject: "π New Commit to Main" | |
| to: ErfanMelon@outlook.com,Alireza3205@gmail.com | |
| from: PhoneixTaskApi | |
| content_type: text/plain | |
| body: | | |
| π A new commit was pushed to the main branch! π | |
| π Repository: ${{ github.repository }} | |
| βοΈ Commit Message: ${{ github.event.head_commit.message }} | |
| π€ Author: ${{ github.event.head_commit.author.name }} | |
| π Commit SHA: ${{ github.sha }} | |
| π Compare Changes: ${{ github.event.compare }} | |
| β° Timestamp: ${{ github.event.head_commit.timestamp }} | |
| π Happy coding! | |
| π Triggered automatically by GitHub Actions |