From e3fe2b36893a436fbf03b9d414a94f4d1bac1e6f Mon Sep 17 00:00:00 2001 From: Luc Date: Tue, 7 May 2024 03:03:11 +0000 Subject: [PATCH] Update CI --- .github/workflows/deploy.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d0dd2c1..dfde285 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,13 +36,24 @@ jobs: echo "::set-output name=tag_name::${TAG_NAME}" echo "::set-output name=deploy_tag_name::deploy-${TAG_NAME}" - - name: Edgeserver Upload - uses: lvkdotsh/edgeserver-action@v0.1.2-pre.4 + - name: Cloudflare Pages Upload + uses: cloudflare/pages-action@v1 with: - app_id: "207907816382402560" - server: https://api.edgeserver.io - token: ${{ secrets.SIGNAL_TOKEN }} # ${{ secrets.EDGESERVER_TOKEN }} + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + projectName: ens-docs + branch: master directory: blog/out + # gitHubToken: ${{ secrets.GITHUB_TOKEN }} + wranglerVersion: '3' + + # - name: Edgeserver Upload + # uses: lvkdotsh/edgeserver-action@v0.1.2-pre.4 + # with: + # app_id: "207907816382402560" + # server: https://api.edgeserver.io + # token: ${{ secrets.SIGNAL_TOKEN }} # ${{ secrets.EDGESERVER_TOKEN }} + # directory: blog/out - name: Read search.json id: read_search_json