Fix pages env vars (#1230)

* Fix pages env vars

* bring back vercel json
This commit is contained in:
Geometrically
2023-07-03 18:08:05 -07:00
committed by GitHub
parent 4c8c35a25a
commit 6e0f22323b
3 changed files with 29 additions and 3 deletions

19
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Deploy
on: push
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Cloudflare Pages deployment
uses: WalshyDev/cf-pages-await@v1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: '9ddae624c98677d68d93df6e524a6061'
project: 'knossos'
githubToken: ${{ secrets.GITHUB_TOKEN }}
commitHash: ${{ steps.push-changes.outputs.commit-hash }}

View File

@@ -11,4 +11,4 @@ jobs:
- name: Re-deploy site
run: |
curl -X POST \
${{ secrets.VERCEL_DEPLOY_URL }}
${{ secrets.CLOUDFLARE_DEPLOY_URL }}