Skip to content

Commit 24ad92c

Browse files
authored
Drop Sentry secrets for now
1 parent 91f03c4 commit 24ad92c

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,6 @@ jobs:
111111
# env:
112112
# SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
113113

114-
- name: Setup to Cloudflare Workers
115-
run: |
116-
echo "$CLOUDFLARE_API_TOKEN" | npx wrangler secret put CLOUDFLARE_API_TOKEN
117-
echo "$CLOUDFLARE_ACCOUNT_ID" | npx wrangler secret put CLOUDFLARE_ACCOUNT_ID
118-
if [ "${{ secrets.SENTRY_DSN }}" != '' ]; then
119-
echo "$SENTRY_DSN" | npx wrangler secret put SENTRY_DSN
120-
fi
121-
env:
122-
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
123-
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
124-
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
125-
126114
- name: Publish to Cloudflare Workers
127115
uses: cloudflare/[email protected]
128116
with:
@@ -135,6 +123,18 @@ jobs:
135123
# CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
136124
# CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
137125

126+
- name: Setup Cloudflare Workers
127+
run: |
128+
echo "$CLOUDFLARE_API_TOKEN" | npx wrangler secret put CLOUDFLARE_API_TOKEN
129+
echo "$CLOUDFLARE_ACCOUNT_ID" | npx wrangler secret put CLOUDFLARE_ACCOUNT_ID
130+
if [ "${{ secrets.SENTRY_DSN }}" != '' ]; then
131+
echo "$SENTRY_DSN" | npx wrangler secret put SENTRY_DSN
132+
fi
133+
env:
134+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
135+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
136+
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
137+
138138
- name: Create a Sentry release
139139
uses: getsentry/action-release@v1
140140
continue-on-error: true

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ All the used Cloudflare products offer a [free plan](https://www.cloudflare.com/
6363

6464
> [!WARNING]
6565
> Dispoflare has no user registration.
66+
> You may need to setup Access Policy in [Cloudflare's Zero Trust](https://one.dash.cloudflare.com/) dashboard.
6667
6768
Dispoflare uses [Zero Trust Access](https://www.cloudflare.com/products/zero-trust/access/) to handle user authentication.
6869
It assumes that your users will register with another identity provider (Zero Trust supports [many providers](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/) or your custom one that implements [Generic SAML 2.0](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/generic-saml/)).

0 commit comments

Comments
 (0)