Skip to content

Commit

Permalink
Merge pull request #20 from nsbradford/hunter/add_gitpod
Browse files Browse the repository at this point in the history
add auto created config file;
  • Loading branch information
hbrooks authored Oct 4, 2023
2 parents 15a0961 + a5034fa commit 00a6692
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

tasks:
- name: Restore .env.local file
command: |
if [ -f .env.local ]; then
echo "Found .env.local in workspace"
else
# After making changes to .env, run this line to persist it to $TALKFORM_DOTENV
# gp env TALKFORM_DOTENV="$(base64 -i .env.local | tr -d '\n')"
#
# Environment variables set this way are shared between all your workspaces for this repo
# The lines below will read $TALKFORM_DOTENV and print a .env file
echo "Restoring .env.local from an environment variable stored in GitPod"
echo "${TALKFORM_DOTENV}" | base64 -d > .env.local
fi
- init: yarn install && yarn run build
command: yarn run start


0 comments on commit 00a6692

Please sign in to comment.