diff --git a/.fleek.json b/.fleek.json new file mode 100644 index 0000000..87a4b24 --- /dev/null +++ b/.fleek.json @@ -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": "" + } +} \ No newline at end of file diff --git a/.github/workflows/build_push_check_deploy.yml b/.github/workflows/build_push_check_deploy.yml index 0db1e65..c5900d1 100644 --- a/.github/workflows/build_push_check_deploy.yml +++ b/.github/workflows/build_push_check_deploy.yml @@ -3,6 +3,8 @@ on: push: branches: - '*' + tags: + - '*' jobs: build_push: diff --git a/.github/workflows/fleek_tag.yaml b/.github/workflows/fleek_tag.yaml new file mode 100644 index 0000000..14947b1 --- /dev/null +++ b/.github/workflows/fleek_tag.yaml @@ -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 }}" \ No newline at end of file