mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 20:47:38 +03:00
25 lines
613 B
YAML
25 lines
613 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
deployments: write
|
|
name: Publish scripts to Cloudflare Pages
|
|
steps:
|
|
- name: Check out
|
|
uses: actions/checkout@v3
|
|
|
|
- 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
|