Skip to content

Commit

Permalink
[Release] 3.1.5 (#132)
Browse files Browse the repository at this point in the history
* Add RevenueCat (#122)

* Added Github actions (#120)
  • Loading branch information
nisrulz authored Jan 4, 2022
1 parent 8e66356 commit 2cd31d5
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 6 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'

- name: Install Pug CLI
run: npm install -g pug-cli

- name: Install SASS CLI
run: npm install -g sass

- name: Install JS-YAML CLI
run: npm install -g js-yaml

- name: Render the website from templates
run: |
chmod +x ./render.sh
./render.sh
- name: Firebase Deploy to Production
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_APP_PRIVACY_POLICY_GENERATOR }}'
channelId: live
projectId: app-privacy-policy-generator
39 changes: 39 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'

- name: Install Pug CLI
run: npm install -g pug-cli

- name: Install SASS CLI
run: npm install -g sass

- name: Install JS-YAML CLI
run: npm install -g js-yaml

- name: Render the website from templates
run: |
chmod +x ./render.sh
./render.sh
- name: Firebase Deploy to Preview Channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_APP_PRIVACY_POLICY_GENERATOR }}'
projectId: app-privacy-policy-generator
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
*.cache
node_modules/
dist/
package-lock.json
14 changes: 9 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,19 @@

</div>

# Contribution
## Status Badges

[![Deploy to Firebase Hosting on PR](https://github.com/nisrulz/app-privacy-policy-generator/actions/workflows/firebase-hosting-pull-request.yml/badge.svg)](https://github.com/nisrulz/app-privacy-policy-generator/actions/workflows/firebase-hosting-pull-request.yml)

## Contribution

[Read the dev docs](dev-doc.md) to

- [Add a new 3rd party service to the web app](https://github.com/nisrulz/app-privacy-policy-generator/blob/master/dev-doc.md#contributing-more-3rd-party-services-links)
- [Add a new template for Privacy Policy or Terms & Conditions](https://github.com/nisrulz/app-privacy-policy-generator/blob/master/dev-doc.md#development)
- [Update the web app for new features/bugfixes](https://github.com/nisrulz/app-privacy-policy-generator/blob/master/dev-doc.md#development)

# Pull Requests
## Pull Requests

I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:

Expand All @@ -45,11 +49,11 @@ I welcome and encourage all pull requests. It usually will take me within 24-48
4. Check for existing [issues](https://github.com/nisrulz/app-privacy-policy-generator/issues) first, before filing an issue.
5. Have fun!

# Author & Contributors
## Author & Contributors

This project was created by [Nishant Srivastava](https://github.com/nisrulz/nisrulz.github.io#nishant-srivastava) but hopefully developed and maintained by many others. See the [the list of contributors here](https://github.com/nisrulz/app-privacy-policy-generator/graphs/contributors).

# Ways You Can Help/Support this project
## Ways You Can Help/Support this project

- **Star** this repository and tell all your friends about it.
- **Watch** for new releases to get an update if something happens.
Expand All @@ -73,7 +77,7 @@ Thanks for your interest in this software :heart:

<img src="img/sc_1.png" alt="App Privacy Policy Generator" width=360 /><img src="img/sc_2.png" alt="App Privacy Policy Generator" width=360 /><img src="img/sc_3.png" alt="App Privacy Policy Generator" width=360 />

### License
## License

Copyright 2017-Present Nishant Srivastava

Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/images/third_party_logos/revenuecat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions src/includes/yaml/thirdpartyservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,10 @@
link:
privacy: https://mixpanel.com/legal/privacy-policy/
terms: https://mixpanel.com/legal/terms-of-use/
- name: RevenueCat
model: revenuecat
revenuecat: false
logo: images/third_party_logos/revenuecat.png
link:
privacy: https://www.revenuecat.com/privacy
terms: https://www.revenuecat.com/terms

0 comments on commit 2cd31d5

Please sign in to comment.