diff --git a/.github/workflows/resultat.yml b/.github/workflows/resultat.yml new file mode 100644 index 0000000..5304b67 --- /dev/null +++ b/.github/workflows/resultat.yml @@ -0,0 +1,10 @@ +name: Mis a jour du resultat du vote Borda +on: + - push +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Mis a jour du resultat du vote Borda + run: python ${{ github.workspace }}/vote_borda.py > ${{ github.workspace }}/resultat_vote.txt \ No newline at end of file diff --git a/.github/workflows/winner.yml b/.github/workflows/winner.yml deleted file mode 100644 index 36a5d9d..0000000 --- a/.github/workflows/winner.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Mise à jour du vote -on: - - push - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Exécuter le script Python - run: python vote_borda.py > winner.txt \ No newline at end of file