mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
feat: add workflow for deploying Hway to Cloudflare Workers
This commit is contained in:
parent
ba4483b5ec
commit
59944e19db
18
.github/workflows/deploy-hway.yml
vendored
Normal file
18
.github/workflows/deploy-hway.yml
vendored
Normal 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
|
2
.github/workflows/scheduled-release.yml
vendored
2
.github/workflows/scheduled-release.yml
vendored
@ -5,6 +5,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
Loading…
x
Reference in New Issue
Block a user