ci: publish scripts

This commit is contained in:
Toby 2023-09-03 11:42:06 -07:00
parent c7545cc870
commit 9136a1db19
2 changed files with 22 additions and 0 deletions

22
.github/workflows/scripts.yml vendored Normal file
View 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
View file