Skip to content

modified build.yml

modified build.yml #30

Workflow file for this run

name: Build Documentation
on:
push:
branches: [development]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-ci-workflow
cancel-in-progress: true
permissions:
contents: write # Required to read repository contents
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r Docs/requirements.txt
- name: Build documentation
run: |
cd Docs
make clean
make html
touch Docs/build/html/.nojekyll
- name: List modified files
run: |
cd Docs/build/html
git status
- name: deploy
if: github.event_name == 'push' && github.ref == 'refs/heads/development'
uses: JamesIves/github-pages-deploy-action@v4
with:

Check failure on line 41 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
repository-name: AMReX-Microelectronics/AMReX-Microelectronics.github.io
branch: gh-pages
folder: {{runner.workspace}}/Docs/build/html
clean: true
commit-message: "Force update - $(date +'%Y-%m-%d %H:%M:%S')"