mirror of
https://github.com/cmz0228/hysteria-dev.git
synced 2025-06-08 13:29:53 +00:00
ci: publish scripts
This commit is contained in:
parent
c7545cc870
commit
9136a1db19
22
.github/workflows/scripts.yml
vendored
Normal file
22
.github/workflows/scripts.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
deployments: write
|
||||||
|
name: Publish scripts to Cloudflare Pages
|
||||||
|
steps:
|
||||||
|
- 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
|
0
install_server.sh → scripts/install_server.sh
Executable file → Normal file
0
install_server.sh → scripts/install_server.sh
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user