You've already forked AstralRinth
forked from didirus/AstralRinth
Fix pages env vars (#1230)
* Fix pages env vars * bring back vercel json
This commit is contained in:
19
.github/workflows/deploy.yml
vendored
Normal file
19
.github/workflows/deploy.yml
vendored
Normal 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 }}
|
||||
2
.github/workflows/regenerate.yml
vendored
2
.github/workflows/regenerate.yml
vendored
@@ -11,4 +11,4 @@ jobs:
|
||||
- name: Re-deploy site
|
||||
run: |
|
||||
curl -X POST \
|
||||
${{ secrets.VERCEL_DEPLOY_URL }}
|
||||
${{ secrets.CLOUDFLARE_DEPLOY_URL }}
|
||||
|
||||
Reference in New Issue
Block a user