Skip to content

Commit

Permalink
Merge branch 'release/1.1.0-beta.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
nekofar committed Jan 22, 2025
2 parents f547c5c + 6de43b1 commit 7cb1675
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 2 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Deploy & Publish
on:
release:
types: [ published ]

jobs:

# Prepare and publish
deploy:
name: Deploy to Workers
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:

# Check out current repository
- name: Fetch Sources
uses: actions/[email protected]
with:
ref: ${{ github.event.release.tag_name }}

- name: Install pnpm package manager
uses: pnpm/[email protected]
with:
version: latest

# Cache dependencies to speed up builds
- name: Cache cargo dependencies
uses: actions/[email protected]
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true

- name: Deploy to Workers
uses: cloudflare/[email protected]
with:
accountId: ${{ secrets.CF_ACCOUNT_ID }}
apiToken: ${{ secrets.CF_API_TOKEN }}
command: deploy
secrets: |
GA_ID
env:
GA_ID: ${{ secrets.GA_ID }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## [1.1.0-beta.7] - 2025-01-22

### Revert

- Remove GitHub Actions deployment workflow

## [1.1.0-beta.6] - 2025-01-22

### Miscellaneous Tasks
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lilnouns-click"
version = "1.1.0-beta.6"
version = "1.1.0-beta.7"
authors = ["Milad Nekofar <[email protected]>"]
edition = "2021"
description = "A Nounish URL shortener for LilNouns DAO."
Expand Down

0 comments on commit 7cb1675

Please sign in to comment.