Skip to content

Commit

Permalink
Test docs build in dea-docs-v2 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
omad committed Dec 4, 2023
1 parent 15b9627 commit a82f24b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
repository_dispatch:
types: [republish-docs] # Triggered from the dea-notebooks repo
push:
branches: [master]
branches: [master, dea-docs-v2]
pull_request:
branches: [master]

Expand Down Expand Up @@ -43,14 +43,14 @@ jobs:
run: ./build-production.sh

- name: Configure AWS credentials via OIDC
if: ${{ github.event_name != 'pull_request' }}
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::538673716275:role/github-actions-dea-docs
aws-region: ap-southeast-2

- name: Deploy site
if: ${{ github.event_name != 'pull_request' }}
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
env:
DISTRIBUTION_ID: ${{ secrets.DISTRIBUTION_ID }}
run: ./deploy-production.sh

0 comments on commit a82f24b

Please sign in to comment.