diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6cfaed9..eacff57 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: - name: Update bot files env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # token automatique fourni par GitHub + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git config --global --add safe.directory $DEPLOY_PATH cd $DEPLOY_PATH @@ -34,6 +34,7 @@ jobs: else git fetch origin $GITHUB_REF_NAME git reset --hard origin/$GITHUB_REF_NAME + fi - name: Restart bot run: |