You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

resultat.yml 749 B

8 months ago
8 months ago
1234567891011121314151617181920212223
  1. name: Mis a jour du resultat du vote Borda
  2. on:
  3. - push
  4. jobs:
  5. build:
  6. runs-on: ubuntu-latest
  7. permissions:
  8. contents: write
  9. steps:
  10. - uses: actions/checkout@v2
  11. - name: Mis a jour du resultat du vote Borda
  12. run: python ${{ github.workspace }}/vote_borda.py > ${{ github.workspace }}/resultat_vote.txt
  13. - name: Ajouter le fichier resultat_vote.txt
  14. run: git add ${{ github.workspace }}/resultat_vote.txt
  15. - name: Commit and Push
  16. run: |
  17. git config --local user.email "action@github.com"
  18. git config --local user.name "GitHub Action"
  19. git add ${{ github.workspace }}/resultat_vote.txt
  20. git commit -m "Actualisation du resultat du vote Borda"
  21. git push origin main