Skip to content

Commit

Permalink
switch to development branch
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed May 18, 2024
1 parent cea8d36 commit f9e183f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
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
Expand All @@ -25,7 +30,7 @@ jobs:
make html
- name: Deploy
if: github.event_name == 'push' && github.repository == 'AMReX-Codes/amrex-tutorials' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.repository == 'AMReX-Codes/amrex-tutorials' && github.ref == 'refs/heads/development'
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
Expand Down

0 comments on commit f9e183f

Please sign in to comment.