Update main.yaml

This commit is contained in:
vilorij 2023-10-03 09:58:59 +07:00 committed by GitHub
parent 0640386d2f
commit 2cf5a8b374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,8 +18,8 @@ jobs:
registry-access-token: ${{ secrets.GITHUB_TOKEN }}
- name: set config
run: |
printf "$APP_ENV_FILE" > dist/assets/appConfig.json
printf "$AUTH_ENV_FILE" > dist/assets/authConfig.json
printf "$APP_ENV_FILE" > dist/control-center/assets/appConfig.json
printf "$AUTH_ENV_FILE" > dist/control-center/assets/authConfig.json
env:
APP_ENV_FILE: ${{secrets.APP_CONF}}
AUTH_ENV_FILE: ${{secrets.AUTH_CONF}}
@ -29,6 +29,6 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: 'cc'
directory: 'dist'
directory: 'dist/control-center'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: main