try different nolinting #29
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: Build and Deploy | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.head_ref }}-docs | |
cancel-in-progress: true | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Dependencies | |
run: | | |
.github/workflows/dependencies/documentation.sh | |
python3 -m pip install --upgrade pip | |
python3 -m pip install sphinx==5.0.0 sphinx_rtd_theme | |
- name: Install and Build | |
run: | | |
./build_docs.sh | |
- name: Deploy | |
if: github.event_name == 'push' && github.repository == 'AMReX-Codes/amrex' && github.ref == 'refs/heads/development' | |
uses: JamesIves/[email protected] | |
with: | |
ssh-key: ${{ secrets.AMREX_BUILD_DOCS }} | |
repository-name: AMReX-Codes/AMReX-Codes.github.io | |
branch: main # The branch the action should deploy to. | |
folder: build # The folder the action should deploy. | |
target-folder: amrex # The folder the action should deploy to. | |
clean: false # Do not remove existing files from the deploy target. |