-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7b1713
commit 5862236
Showing
1 changed file
with
7 additions
and
12 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 |
---|---|---|
|
@@ -19,10 +19,10 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
|
||
|
@@ -43,18 +43,13 @@ jobs: | |
|
||
steps: | ||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
# move Dockerfile to root | ||
- name: 🚚 Move Files | ||
run: | | ||
mv ./kcdshop/deployed/fly.toml ./fly.toml | ||
mv ./kcdshop/deployed/Dockerfile ./Dockerfile | ||
mv ./kcdshop/deployed/.dockerignore ./.dockerignore | ||
- name: 🎈 Setup Fly | ||
uses: superfly/flyctl-actions/[email protected] | ||
|
||
- name: 🚀 Deploy Production | ||
uses: superfly/[email protected] | ||
with: | ||
args: 'deploy --remote-only' | ||
run: flyctl deploy --remote-only | ||
working-directory: ./kcdshop/deploy | ||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |