Merge pull request #49 from pangeachat/staging-release-test

removed google patch again
This commit is contained in:
Brord van Wierst 2024-01-22 23:12:14 +01:00 committed by GitHub
commit 17106612ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -57,8 +57,10 @@ jobs:
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Apply Google Services Patch
run: git apply ./scripts/enable-android-google-services.patch
# #Pangea
#- name: Apply Google Services Patch
# run: git apply ./scripts/enable-android-google-services.patch
# Pangea#
- name: Remove Emoji Font
run: |
rm -rf fonts/NotoEmoji
@ -126,8 +128,10 @@ jobs:
ruby-version: 2.7
- name: Install Fastlane
run: gem install fastlane -NV
- name: Apply Google Services Patch
run: git apply ./scripts/enable-android-google-services.patch
# #Pangea
#- name: Apply Google Services Patch
# run: git apply ./scripts/enable-android-google-services.patch
# Pangea#
- name: Remove Emoji Font
run: |
rm -rf fonts/NotoEmoji
@ -162,7 +166,7 @@ jobs:
deploy_web:
runs-on: ubuntu-latest
needs: build_web
environment: staging
environment: production
steps:
- uses: actions/checkout@v2
- name: Download web
@ -175,4 +179,10 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Copy files to the production website with the AWS CLI
run: |
aws s3 sync ./build/web s3://$WEBAPP_S3_BUCKET
- name: AWS CloudFront Invalidation
run: |
aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths "/*"