init
This commit is contained in:
30
.github/workflows/deploy-airse.yml
vendored
Normal file
30
.github/workflows/deploy-airse.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: Deploy Airse
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'rse/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
deployments: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- run: npm install
|
||||
working-directory: rse
|
||||
- run: npm run build
|
||||
working-directory: rse
|
||||
- uses: cloudflare/pages-action@v1
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
projectName: ${{ secrets.APP_RSE_NAME }}
|
||||
directory: rse/dist
|
||||
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
wranglerVersion: '3'
|
||||
Reference in New Issue
Block a user