mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 02:25:18 +00:00
add publish to CF (#232)
This commit is contained in:
parent
4f1b379de3
commit
9649cb182b
14
.github/workflows/master.yaml
vendored
14
.github/workflows/master.yaml
vendored
@ -34,6 +34,20 @@ jobs:
|
||||
dockerfile-path: .
|
||||
env:
|
||||
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
|
||||
- name: set config
|
||||
run: |
|
||||
printf "$APP_ENV_FILE" > dist/v1/appConfig.json
|
||||
shell: bash
|
||||
env:
|
||||
APP_ENV_FILE: ${{secrets.APP_CONFIG_CF}}
|
||||
- name: Publish to CF Pages
|
||||
uses: cloudflare/pages-action@1
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: 'payform'
|
||||
directory: 'dist'
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Create Sentry release
|
||||
uses: getsentry/action-release@v1
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user