test intégration slack github #22
This file contains 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: Set elevator to usable | |
on: | |
issues: | |
types: [closed] | |
jobs: | |
build: | |
name: Elevator to usable | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: setup git config | |
run: | | |
# setup the username and email | |
git config user.name "Zenika Nantes Elevator bot" | |
git config user.email "<>" | |
- name: Update elevator state | |
run: | | |
sed -i 's/Non/Oui/' index.html | |
git add . | |
git commit -m "set elevator to usable" | |
git push origin main |