mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 02:25:18 +00:00
Update master.yaml (#296)
This commit is contained in:
parent
d281114264
commit
e445687e9d
15
.github/workflows/master.yaml
vendored
15
.github/workflows/master.yaml
vendored
@ -46,6 +46,21 @@ jobs:
|
||||
directory: 'dist'
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: main
|
||||
- name: set v2 config
|
||||
run: |
|
||||
printf "$APP_2_ENV_FILE" > dist/v1/appConfig.json
|
||||
shell: bash
|
||||
env:
|
||||
APP_2_ENV_FILE: ${{secrets.APP_2_CONFIG_CF}}
|
||||
- name: Publish 2 to CF Pages
|
||||
uses: cloudflare/pages-action@1
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: 'payform-2'
|
||||
directory: 'dist'
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: main
|
||||
- name: Create Sentry release
|
||||
uses: getsentry/action-release@v1
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user