Delete .github/workflows/scripts.yml

This commit is contained in:
Ivy-2501 2024-05-18 23:06:05 +08:00 committed by GitHub
parent 654ed1b9d2
commit 895da9de27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,29 +0,0 @@
name: "Publish scripts"
on:
push:
branches:
- master
paths:
- scripts/**
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish scripts to Cloudflare Pages
steps:
- name: Check out
uses: actions/checkout@v4
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: hy2scripts
directory: scripts
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: main