Skip to content

Commit

Permalink
update depoly
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed May 17, 2024
1 parent 80b6d2c commit a381375
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Dependencies
run: |
.github/workflows/dependencies/documentation.sh
echo "Installing python packages for docs..."
pip3 install sphinx sphinx_rtd_theme breathe
python3 -m pip install --upgrade pip
python3 -m pip install sphinx sphinx_rtd_theme breathe sphinxcontrib.bibtex docutils
- name: Install and Build
run: |
Expand All @@ -25,12 +26,10 @@ jobs:
- name: Deploy
if: github.event_name == 'push' && github.repository == 'AMReX-Codes/amrex-tutorials' && github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@3.7.1
uses: JamesIves/github-pages-deploy-action@4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ACCESS_TOKEN: ${{ secrets.DEPLOY_DOCS_TUTORIALS }}
REPOSITORY_NAME: AMReX-Codes/AMReX-Codes.github.io
BRANCH: main # The branch the action should deploy to.
FOLDER: Docs/build/html # The folder the action should deploy.
TARGET_FOLDER: amrex/tutorials_html # The folder the action should deploy to.
CLEAN: false # Do not remove existing files from the deploy target.
ssh-key: ${{ secrets.DEPLOY_KEY }}
branch: main # The branch the action should deploy to.
folder: Docs/build/html # The folder the action should deploy.
target_folder: amrex/tutorials_html # The folder the action should deploy to.
clean: false # Do not remove existing files from the deploy target.
16 changes: 8 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror -Wno-error=deprecated-declarations -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_gcc10.sh
- name: Build & Install
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_clang6.sh
- name: Build & Install
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies.sh
- name: Build & Install
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nofortran.sh
- name: Build & Install
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_nvcc11.sh
- name: Build & Install
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
runs-on: ubuntu-20.04
env: {CXXFLAGS: "-fno-operator-names"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_dpcpp.sh
- name: Build & Install
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:
# #define select_impl_(_1, _2, impl_, ...) impl_
env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wno-deprecated-declarations -Wno-gnu-zero-variadic-macro-arguments -Wno-pass-failed"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_hip.sh
- name: Build & Install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: [email protected] [email protected] [tutorials]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Dependencies
run: .github/workflows/dependencies/dependencies_mac.sh
- name: Build & Install
Expand Down

0 comments on commit a381375

Please sign in to comment.