From d0e9fd7c759f1cc5d958aff9bea670a088ccfc08 Mon Sep 17 00:00:00 2001 From: Duddino Date: Thu, 21 Sep 2023 11:36:54 +0200 Subject: [PATCH 1/2] Fleek --- .github/workflows/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..daf259bf3 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,15 @@ +on: [push] + +jobs: + test-deploy: + runs-on: ubuntu-latest + name: A job to test the action-deploy action by deploying a test site + steps: + - uses: actions/checkout@v2 + - name: Deploy test site + id: deploy + uses: fleekhq/action-deploy@v1 + with: + apiKey: ${{ secrets.FLEEK_API_KEY }} + - name: Get the output url + run: echo "Deploy url is ${{ steps.deploy.outputs.deployUrl }}" From 7e2a9761f2985cb79bd94016f21bde9e837e0f17 Mon Sep 17 00:00:00 2001 From: Duddino Date: Thu, 21 Sep 2023 11:38:57 +0200 Subject: [PATCH 2/2] eiajtiaejtiaejir --- .github/workflows/deploy.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index daf259bf3..da4944daf 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,16 @@ -on: [push] +on: +# Trigger the workflow on push or pull request, + # but only for the main branch + push: + branches: + - master + paths-ignore: + - "*.md" + - LICENSE + - "*.yaml" + pull_request: + branches: + - master jobs: test-deploy: