-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: no release to cloudflare in library
- Loading branch information
Alan Shaw
committed
May 20, 2024
1 parent
f27e016
commit c3bba2e
Showing
1 changed file
with
1 addition
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,34 +4,7 @@ on: | |
- main | ||
name: Release | ||
jobs: | ||
release-staging: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
cache: 'pnpm' | ||
- name: Install | ||
run: pnpm install | ||
- name: Build | ||
run: pnpm build | ||
- name: Deploy to Cloudflare | ||
uses: cloudflare/[email protected] | ||
with: | ||
apiToken: ${{ secrets.CF_TOKEN }} | ||
environment: 'carpark-staging' | ||
release-production: | ||
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|