Skip to content

Commit

Permalink
[fix] GitHub template initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Jul 18, 2024
1 parent be4631a commit de0867b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- v*
env:
ARTIFACT_PATH: /tmp/artifact.tar
BOX_NAME: rest-node-ts
BOX_URL: idea2app/rest-node-ts
BOX_NAME: ${{ github.event.repository.name }}
BOX_URL: ${{ github.repository }}
HOST: ${{ secrets.HOST }}

jobs:
Expand All @@ -25,6 +25,8 @@ jobs:

- name: Inject Environment variables
run: |
echo "BOX_NAME=${BOX_NAME@L}" >> "${GITHUB_ENV}"
echo "BOX_URL=${BOX_URL@L}" >> "${GITHUB_ENV}"
cat > .env <<EOF
${{ secrets.ENV_FILE }}
EOF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/init-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Template Repository initialization
on:
push:
branches:
- main
- master
env:
TEMPLATE_OWNER: idea2app
TEMPLATE_NAME: REST-Node-ts
Expand Down

0 comments on commit de0867b

Please sign in to comment.