25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
605 B

  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: Committer les modifications
  16. run: git commit -m "MAJ du resultat du vote"
  17. - name: Push les modifications
  18. run: git push origin main