Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Dec 15, 2023
1 parent 19d944a commit 7ac7979
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rivet-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: derive_names
run: |
branch_name=${GITHUB_REF#refs/heads/}
ns_name=$(echo $branch_name | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z-]//g')
ns_name=$(echo $branch_name | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9-]\+/-/g')
short_hash=$(git rev-parse --short HEAD)
version_name="${short_hash} (${ns_name})"
echo "::set-output name=ns_name::$ns_name"
Expand All @@ -41,7 +41,7 @@ jobs:

- name: Set up Rivet CLI
run: |
export RIVET_CLI_VERSION="v0.3.0"
export RIVET_CLI_VERSION="v0.3.1"
curl -fsSL https://raw.githubusercontent.com/rivet-gg/cli/main/install/unix.sh | sh
- name: Build Docker Image
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Set up Rivet CLI
run: |
export RIVET_CLI_VERSION="v0.3.0"
export RIVET_CLI_VERSION="v0.3.1"
curl -fsSL https://raw.githubusercontent.com/rivet-gg/cli/main/install/unix.sh | sh
- name: Build CDN
Expand All @@ -87,13 +87,13 @@ jobs:

- name: Set up Rivet CLI
run: |
export RIVET_CLI_VERSION="v0.3.0"
export RIVET_CLI_VERSION="v0.3.1"
curl -fsSL https://raw.githubusercontent.com/rivet-gg/cli/main/install/unix.sh | sh
- name: Create Namespace
run: |
# Ignore error if namespace already exists
rivet namespace create --id "${{ needs.prepare.outputs.ns_name }}" --name "$branch_name" --version "0.0.1" || true
rivet namespace create --id "${{ needs.prepare.outputs.ns_name }}" --name "$branch_name" || true
- name: Deploy Version
run: |
Expand Down

0 comments on commit 7ac7979

Please sign in to comment.