Revert Github Runner Test #57
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
on: | |
push: | |
branches: | |
- main | |
name: Build and Deploy | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: 'checkout' | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- run: pip install -r requirements.txt | |
- name: 'check links' | |
uses: shalzz/[email protected] | |
env: | |
CHECK_LINKS: true | |
BUILD_ONLY: true | |
BUILD_DIR: . | |
- run: python ifs.py | |
env: | |
IFS_FOLDER: 'content/images/ifs' | |
IFS_PATH: ${{ secrets.IFS_PATH }} | |
- name: 'build and deploy' | |
uses: shalzz/[email protected] | |
env: | |
PAGES_BRANCH: master | |
BUILD_DIR: . | |
TOKEN: ${{ secrets.TOKEN }} | |
REPOSITORY: ${{ secrets.GHP_USER }}/${{ secrets.GHP_USER }}.github.io |