Skip to content

Commit

Permalink
Merge pull request #49 from pangeachat/staging-release-test
Browse files Browse the repository at this point in the history
removed google patch again
  • Loading branch information
kwek20 authored Jan 22, 2024
2 parents a6c781b + f43c45d commit 1710661
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 "/*"

0 comments on commit 1710661

Please sign in to comment.