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

[cicd] adds tag based deployments #33

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
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
15 changes: 15 additions & 0 deletions .fleek.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"site": {
"id": "10584bd6-7f12-42b1-937c-1b21097feaa2",
"team": "aragonone-team",
"platform": "ipfs",
"source": "github",
"name": "broken-band-8498"
},
"build": {
"baseDir": "packages/app/",
"publicDir": "build",
"command": "yarn && yarn build",
"rootDir": ""
}
}
2 changes: 2 additions & 0 deletions .github/workflows/build_push_check_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
branches:
- '*'
tags:
- '*'

jobs:
build_push:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/fleek_tag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: fleek tag
on:
push:
tags:
- '*'

jobs:
tag-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy fleek
id: deploy
uses: fleekhq/action-deploy@v1
with:
apiKey: ${{ secrets.FLEEK_API_KEY }}
commitHash: ${{ github.sha }}
- name: Get the output url
run: echo "Deploy url is ${{ steps.deploy.outputs.deployUrl }}"