Skip to content

Commit

Permalink
ci(contentDeploy): fix e2e & check content immediatly
Browse files Browse the repository at this point in the history
Co-Authored-By: Pram Gurusinga <[email protected]>
Co-Authored-By: SannyNguyenHung <[email protected]>
  • Loading branch information
3 people committed Jan 12, 2024
1 parent 2a20a89 commit 82dfcaa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
env:
STRAPI_API: "${{ secrets.STRAPI_API }}"
STRAPI_ACCESS_KEY: "${{ secrets.STRAPI_ACCESS_KEY }}"
- run: npm run verifyEmails
- run: npm run verifyWebsites
- name: Calculate content checksum
id: checksum
run: echo "content_checksum=$(./docker.sh --contentHash)" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -79,13 +81,10 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
- uses: ./.github/actions/cached-checkout-install
- name: Download Content File
uses: actions/download-artifact@v4
with:
name: content-file
- run: npm run verifyEmails
- run: npm run verifyWebsites
- run: ./docker.sh --build content
- run: ./docker.sh --push content
- run: ./docker.sh --build prod
Expand Down Expand Up @@ -125,7 +124,7 @@ jobs:
needs: [deploy-preview]
uses: ./.github/workflows/e2e-test.yml
secrets:
BASE_URL: a2j-preview.dev.ds4g.net
BASE_URL: https://a2j-preview.dev.ds4g.net
with:
USE_EXISTING_SERVER: true

Expand Down

0 comments on commit 82dfcaa

Please sign in to comment.