Skip to content

Commit

Permalink
Fleek fixes (#1423)
Browse files Browse the repository at this point in the history
* update staging

* update workflow

* Update webapp-deploy.yml

* Update webapp-deploy.yml

* update config file

* Update production.json

* Update webapp-deploy.yml
  • Loading branch information
jjavieralv authored Dec 18, 2024
1 parent 83729e9 commit f11a1d6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 31 deletions.
20 changes: 7 additions & 13 deletions .github/fleek/production.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{
"site": {
"id": "81492921-4a99-4f5d-bd34-aa01ba6a1504",
"team": "aragonone-team",
"platform": "ipfs",
"source": "ipfs",
"name": "apparagonorg"
},
"build": {
"baseDir": "",
"publicDir": "dist",
"rootDir": ""
}
}
"sites": [
{
"slug": "apparagonorg",
"distDir": "dist"
}
]
}
18 changes: 6 additions & 12 deletions .github/fleek/staging.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
{
"site": {
"id": "05c463ec-bd57-492b-a89b-adad25df6e83",
"team": "aragonone-team",
"platform": "ipfs",
"source": "ipfs",
"name": "floral-forest-6918"
},
"build": {
"baseDir": "",
"publicDir": "dist",
"rootDir": ""
}
"sites": [
{
"slug": "floral-forest-6918",
"distDir": "dist"
}
]
}
16 changes: 10 additions & 6 deletions .github/workflows/webapp-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,19 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: yarn sentry:sourcemaps

- name: Install Fleek CLI
run: npm i -g @fleek-platform/cli
- name: Activate Fleek
env:
FLEEK_FILE: ${{ needs.set-environment.outputs.environment }}
run: mv ./.github/fleek/$FLEEK_FILE.json .fleek.json
- name: Deploy through Fleek
run: mv ./.github/fleek/$FLEEK_FILE.json fleek.config.json
- name: Deploy on Fleek
id: deploy
uses: fleekhq/action-deploy@v1.0.1
with:
apiKey: ${{ secrets.FLEEK_API_KEY }}
workDir: ${{ env.working-directory }}
run: fleek sites deploy
env:
FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN_2 }}
FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID_2 }}


- name: Get the Fleek output url
run: echo "The Fleek deploy url is ${{ steps.deploy.outputs.deployUrl }}"

0 comments on commit f11a1d6

Please sign in to comment.