Update personal info #53
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: Fetch, build and deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetching branch | |
| uses: actions/[email protected] | |
| with: | |
| ref: master | |
| - name: Installing Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.11" | |
| - name: Installing requirements.txt | |
| run: make install | |
| - name: Compile Flask/Jinja files | |
| run: make build | |
| - name: Copy important GitHub Pages files | |
| run: cp ./CNAME ./public/CNAME | |
| - name: Deploy | |
| uses: JamesIves/[email protected] | |
| with: | |
| branch: gh-pages | |
| folder: public | |
| clean: true |