Skip to content

Commit

Permalink
implements github actions for main/staging
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrosGounis committed Nov 1, 2023
1 parent 17af301 commit 3649141
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Staging

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Deploy app
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: deploy --env production
18 changes: 18 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Staging

on:
push:
branches:
- staging

jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Deploy app
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: deploy --env staging
8 changes: 4 additions & 4 deletions src/version/storage/mobile-version.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"ios": {
"required": "1.0.0.180",
"recommended": "1.0.0.190"
"required": "1.0.0.201",
"recommended": "1.0.0.202"
},
"android": {
"required": "1.0.1.183",
"recommended": "1.0.1.190"
"required": "1.0.0",
"recommended": "1.0.0"
}
}

0 comments on commit 3649141

Please sign in to comment.