Skip to content

Commit

Permalink
Merge pull request #65 from aragon/testing-deployment
Browse files Browse the repository at this point in the history
Updating workflows to deploy new version into testing environments
  • Loading branch information
jjavieralv authored Jul 17, 2024
2 parents ff0598c + f8173d0 commit f6244f8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy_fleek.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on:
branches:
- "develop"
- "master"

jobs:
build-deploy-mainnet:
runs-on: ubuntu-latest
container: fleek/create-react-app:node-15
container: fleek/create-react-app:node-16
if: github.ref == 'refs/heads/master'
environment: MAINNET
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install node
uses: actions/setup-node@v1
with:
Expand All @@ -33,7 +32,7 @@ jobs:
run: mv .github/fleek/mainnet.json .fleek.json
- name: Deploy fleek
id: deploy
uses: fleekhq/action-deploy@v1
uses: fleekhq/action-deploy@v1.0.1
with:
apiKey: ${{ secrets.FLEEK_API_KEY }}
- name: Get the output url
Expand All @@ -54,7 +53,7 @@ jobs:
done
build-deploy-develop:
runs-on: ubuntu-latest
container: fleek/create-react-app:node-15
container: fleek/create-react-app:node-16
if: github.ref == 'refs/heads/develop'
strategy:
matrix:
Expand All @@ -70,7 +69,7 @@ jobs:
subgraph_name: "staging"
environment: ${{ matrix.environment }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install node
uses: actions/setup-node@v1
with:
Expand All @@ -94,7 +93,7 @@ jobs:
run: mv .github/fleek/$FLEEK_FILE .fleek.json
- name: Deploy fleek
id: deploy
uses: fleekhq/action-deploy@v1
uses: fleekhq/action-deploy@v1.0.1
with:
apiKey: ${{ secrets.FLEEK_API_KEY }}
- name: Get the output url
Expand Down

0 comments on commit f6244f8

Please sign in to comment.