Skip to content

Commit

Permalink
change fleek action 1
Browse files Browse the repository at this point in the history
  • Loading branch information
novaknole committed Dec 12, 2024
1 parent a8d846b commit f2cb292
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish-on-fleek.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,18 @@ jobs:
- name: Install and build
run: yarn install --frozen-lockfile && yarn build

- name: Install Fleek CLI
run: yarn global add @fleek-platform/cli

- name: Activate Fleek
run: mv fleek_${{ inputs.source_branch }}.json .fleek.json

- name: Deploy on Fleek
id: deploy
uses: fleekhq/action-deploy@v1.0.1
uses: fleek sites deploy
with:
apiKey: ${{ secrets.FLEEK_API_KEY }}
FLEEK_TOKEN: ${{ secrets.FLEEK_TOKEN }}
FLEEK_PROJECT_ID: ${{ secrets.FLEEK_PROJECT_ID }}

- name: Get Fleek output URL ( Branch=${{ inputs.source_branch }} )
run: echo "The Fleek output URL is ${{ steps.deploy.outputs.deployUrl }}"

0 comments on commit f2cb292

Please sign in to comment.