feat: add workflow for deploying Hway to Cloudflare Workers

This commit is contained in:
Prad Nukala 2024-10-07 21:28:50 -04:00
parent ba4483b5ec
commit 59944e19db
2 changed files with 20 additions and 0 deletions

18
.github/workflows/deploy-hway.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Deploy Hway (sonr.id)
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy Sonr.ID on Cloudflare
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_WORKERS_TOKEN }}
workingDirectory: web

View File

@ -5,6 +5,8 @@ on:
push:
tags:
- v*
branches:
- master
permissions:
contents: write