Skip to content

Commit

Permalink
ci: scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyxdd committed Nov 5, 2023
1 parent 7170d1f commit d04de4f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/scripts.yml
@@ -0,0 +1,29 @@
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: tcpbrutalscripts
directory: scripts
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: main
1 change: 1 addition & 0 deletions scripts/_redirects
@@ -0,0 +1 @@
/ /install_dkms.sh 301

0 comments on commit d04de4f

Please sign in to comment.