Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating workflows to deploy new version into testing environments #65

Merged
merged 8 commits into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading