-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): stable release milestone (#72)
* fix(config): renames package license * refactor(ci): moves back workflows.release.yml * chore(config): renames package name * fix(deps): consolidates @types * fix(deps): adds prettier-plugin-tailwindcss plugin * fix(ci): favors deploy composite * chore(ci): renames workflows * chore(ci): test concurrency workflows * fix(config): updates TSConfig files * chore(config): formats code * fix(config): passes branch to workflow.release.yml * chore(config): rename concurrency group * chore(config): debug branch name * chore(config): removes needs to document * chore(config): updates property to inputs.branch_name * feat(config): adds vite config * fix(config): renames URLK slug to lower-case
- Loading branch information
1 parent
8d4be4a
commit 85335ed
Showing
23 changed files
with
4,457 additions
and
565 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 |
---|---|---|
@@ -1,51 +1,11 @@ | ||
name: 'Deploy' | ||
description: 'Deploys the application to Fly.io for staging and production environments.' | ||
|
||
inputs: | ||
commit_sha: | ||
description: 'Commit SHA for deployment' | ||
required: true | ||
description: 'Deploys the application to Fly.io' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- name: Read app name | ||
uses: SebRollen/[email protected] | ||
id: app_name | ||
with: | ||
file: 'fly.toml' | ||
field: 'app' | ||
|
||
- name: Install Flyctl | ||
uses: superfly/flyctl-actions@master | ||
with: | ||
version: 'latest' | ||
|
||
- name: Deploy Dev | ||
if: ${{ github.ref == 'refs/heads/dev' }} | ||
shell: bash | ||
run: | | ||
flyctl deploy --remote-only --verbose | ||
- name: Deploy | ||
uses: superfly/flyctl-actions/setup-flyctl@master | ||
run: flyctl deploy --remote-only | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | ||
|
||
- name: Deploy Production | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
shell: bash | ||
run: | | ||
flyctl deploy --remote-only --verbose | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | ||
|
||
- name: Set Deployed Version | ||
id: set_version | ||
shell: bash | ||
run: | | ||
VERSION=$(jq -r .version package.json) | ||
echo "deployed_version=${VERSION}" >> $GITHUB_OUTPUT |
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
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
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
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
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
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
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
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
Oops, something went wrong.