Skip to content

Instantly share code, notes, and snippets.

View wendreof's full-sized avatar
💭
🤘🏼

Wendreo Fernandes wendreof

💭
🤘🏼
View GitHub Profile
source $HOME/.bash_profile
e/ou
source $HOME/.profile
sudo apt-get install git
@wendreof
wendreof / docker-compose.yml
Created August 31, 2019 12:41
Docker Compose for TypeScript, and Mongo Environment
version: "3"
services:
api:
image: wendreof/api-ts
ports:
- "3050:3050"
links:
- link-db
link-db:
image: tutum/mongodb
@wendreof
wendreof / .gitignore
Last active September 25, 2021 19:36
.gitignore node_modules and log files
### Node ###
node_modules/
# Dependency directories
*.log
@wendreof
wendreof / gitrm--cached.txt
Last active November 20, 2019 04:17
git rm --cached
git rm --cached node_modules/
@wendreof
wendreof / build.gradle
Last active September 25, 2021 19:22
1-How-to-Safely-Build-Assigned-App-with-GitHub-Actions
//other settings...
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
//other settings...
@wendreof
wendreof / ci-cd.yml
Created September 25, 2021 14:57
2-How-to-Safely-Build-Assigned-App-with-GitHub-Actions
name: CI/CD
on:
push:
branches:
- develop
- master
pull_request:
branches:
- develop
@wendreof
wendreof / ci-cd.yml
Created September 25, 2021 15:04
3-How-to-Safely-Build-Assigned-App-with-GitHub-Actions
#step 2 configurations...
jobs:
flutter_test:
name: Run Flutter assigned build appbundle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
@wendreof
wendreof / keybase64.txt
Created September 25, 2021 15:11
4How-to-Safely-Build-Assigned-App-with-GitHub-Actions
base64 key.jks > keybase64.txt
@wendreof
wendreof / ci-cd.yml
Last active September 25, 2021 19:22
5-How-to-Safely-Build-Assigned-App-with-GitHub-Actions
# Steps 1 and 2 configurations...
# Decoding base64 key into a file
- run: echo "${{ secrets.KEYSTORE2 }}" | base64 --decode > android/app/key.jks
# Get dependencies and make assigned appbundle
- run: |
flutter pub get
flutter build appbundle