Skip to content

Commit

Permalink
Merge pull request #577 from ali-hosseini-deriv/ako/add-github-actions
Browse files Browse the repository at this point in the history
ci: use staging cf workflow
  • Loading branch information
balakrishna-deriv authored Nov 7, 2023
2 parents 70e251b + 2b98136 commit e27cc96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
target: translations
- uses: "./.github/actions/versioning"
with:
target_branch: production
target_branch: staging
- name: "Run Tests"
run: npm run test
- uses: actions/upload-artifact@v3
with:
name: dist
path: dist
publish_cloudflare_production:
name: Publish to Cloudflare Pages Production
publish_cloudflare_staging:
name: Publish to Cloudflare Pages Staging
runs-on: ubuntu-latest
needs: [build_and_test]
steps:
Expand All @@ -47,7 +47,7 @@ jobs:
- uses: actions/[email protected]
with:
path: dist
- uses: "./.github/actions/publish_to_pages_production"
- uses: "./.github/actions/publish_to_pages_staging"
with:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

0 comments on commit e27cc96

Please sign in to comment.