ci: clean up and simplify workflows (#1541)
This commit is contained in:
1 parent
21bec677c8
commit
2c4eefa877
10 files changed
+43
-59
No files matched your search
@@ -3,19 +3,18 @@ name: Deploy Website
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ["main"]
|
||||
branches: [main]
|
||||
paths: ["scripts/userstyles.yml"]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'catppuccin/userstyles'
|
||||
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
|
||||
Reference in new issue
Block a user