feat: create env with github actions.

This commit is contained in:
Aunali321 2022-10-17 16:25:22 +05:30
parent e55cd6a938
commit 603917d21e
2 changed files with 5 additions and 3 deletions

3
.env
View File

@ -1,3 +0,0 @@
sentryDSN=${{ secrets.SENTRY_DSN }}
apiKey=${{ secrets.API_KEY }}
appId=${{ secrets.APP_ID }}

View File

@ -19,6 +19,11 @@ jobs:
- uses: subosito/flutter-action@v1 - uses: subosito/flutter-action@v1
with: with:
channel: 'stable' channel: 'stable'
- uses: SpicyPizza/create-envfile@v1
with:
envkey_sentryDSN: ${{ secrets.SENTRY_DSN }}
evykey_apiKey: ${{ secrets.API_KEY }}
envkey_appId: ${{ secrets.APP_ID }}
- name: Set up Flutter - name: Set up Flutter
run: flutter pub get run: flutter pub get
- name: Generate files with Builder - name: Generate files with Builder