This file contains hidden or 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: Rebuild Cookbook Website | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: List all files | ||
run: ls -R | ||
- name: Run Python Script | ||
run: | | ||
cd src # Change "src" if your script is in another directory | ||
python script.python | ||
steps: | ||
- name: Call Deploy Hook | ||
run: curl -X POST ${{ secrets.WEBSITE_DEPLOY_HOOK_URL }} |