summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-14 02:17:20 -0500
committerseth <[email protected]>2023-11-14 02:17:20 -0500
commit7f39451ddbff09f2e5e519aa2c6471ec62ac3d8e (patch)
tree208ba45a02ddfe762dab092cb6abdebc74968e3e /.github/workflows/deploy.yaml
parent5de11a91f1d6ff6cee5a4c90666f33a6dd7a4f64 (diff)
ci: let cf deploy
Diffstat (limited to '.github/workflows/deploy.yaml')
-rw-r--r--.github/workflows/deploy.yaml34
1 files changed, 0 insertions, 34 deletions
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
deleted file mode 100644
index 23ba2c8..0000000
--- a/.github/workflows/deploy.yaml
+++ /dev/null
@@ -1,34 +0,0 @@
-name: deploy
-
-on:
- push:
- workflow_dispatch:
-
-jobs:
- ci:
- uses: ./.github/workflows/ci.yaml
- permissions:
- security-events: write
-
- deploy:
- needs: ci
- runs-on: ubuntu-latest
-
- permissions:
- deployments: write
-
- steps:
- - name: download dist
- uses: actions/download-artifact@v3
- with:
- name: dist
- path: dist
-
- - name: deploy to cloudflare pages
- uses: cloudflare/pages-action@v1
- with:
- apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
- accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- projectName: teawieapi
- directory: dist
- gitHubToken: ${{ github.token }}