mirror of
https://github.com/apernet/hysteria.git
synced 2025-04-03 04:27:39 +03:00
ci: publish scripts
This commit is contained in:
parent
c7545cc870
commit
9136a1db19
2 changed files with 22 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue