Update master.yaml (#296)

This commit is contained in:
vilorij 2024-04-15 21:38:57 +07:00 committed by GitHub
parent d281114264
commit e445687e9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: