mirror of
https://github.com/catppuccin/catppuccin
synced 2024-12-03 16:59:26 +00:00
ci: add deploy hook for website (#2322)
This commit is contained in:
parent
9bd5f5fdcb
commit
633f068aa0
1 changed files with 21 additions and 0 deletions
21
.github/workflows/website.yml
vendored
Normal file
21
.github/workflows/website.yml
vendored
Normal 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
|
Loading…
Reference in a new issue