Skip to content

Commit

Permalink
rm dev compose (rocket doesn't do hot reloading out of the box anyway…
Browse files Browse the repository at this point in the history
…), remove placeholders in deploy.yaml, and fix sample file checker
  • Loading branch information
raphaeltm committed Sep 20, 2024
1 parent a1f7e2b commit 71f8f2f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
9 changes: 1 addition & 8 deletions samples/rocket/.github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,4 @@ jobs:
uses: actions/checkout@v4

- name: Deploy
uses: DefangLabs/[email protected]
#REMOVE_ME_AFTER_EDITING - Replace the following line with the list of environment variables you want to pass to the action
# or remove the lines if you don't need to pass any environment variables/secrets to the action
with:
config-env-vars: ENV1 ENV2
env:
ENV1: ${{ secrets.ENV1 }}
ENV2: ${{ secrets.ENV2 }}
uses: DefangLabs/[email protected]
8 changes: 0 additions & 8 deletions samples/rocket/compose.dev.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/check-sample-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ for dir in ./samples/*/; do
fi

# Check for #REMOVE_ME_AFTER_EDITING
matches=$(grep -rnH "#REMOVE_ME_AFTER_EDITING" $dir* | cut -d: -f1,2)
matches=$(grep -rnH "#REMOVE_ME_AFTER_EDITING" "$dir" | cut -d: -f1,2)

if [ -n "$matches" ]; then
echo "$matches" | while read -r line; do
Expand Down

0 comments on commit 71f8f2f

Please sign in to comment.