ci: add deploy hook for website (#2322)

This commit is contained in:
Hammy 2024-03-24 21:13:06 +00:00 committed by GitHub
parent 9bd5f5fdcb
commit 633f068aa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

21
.github/workflows/website.yml vendored Normal file
View file

@ -0,0 +1,21 @@
name: Deploy Website
on:
workflow_call:
workflow_dispatch:
push:
branches: ["main"]
paths: ["resources/ports.yml"]
jobs:
deploy:
runs-on: ubuntu-latest
environment: website
name: Vercel Deploy
steps:
- name: Deploy via cURL
shell: bash
env:
DEPLOY_HOOK: ${{ secrets.VERCEL_DEPLOY_HOOK }}
run: curl -X POST "$DEPLOY_HOOK"
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json