Skip to content

Commit

Permalink
ci(publish): add the .env on the release
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-gs committed Nov 25, 2024
1 parent 2b52208 commit 041f06d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ jobs:
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
- run: yarn

- name: Add .env
run: |
echo "DRIVE_URL=https://drive.internxt.com" >> .env
echo "DRIVE_API_URL=https://drive.internxt.com/api" >> .env
echo "DRIVE_NEW_API_URL=https://api.internxt.com/drive" >> .env
echo "PAYMENTS_API_URL=https://api.internxt.com/payments" >> .env
echo "PHOTOS_API_URL=https://photos.internxt.com/api" >> .env
echo "NETWORK_URL=https://api.internxt.com" >> .env
echo "APP_CRYPTO_SECRET=6KYQBP847D4ATSFA" >> .env
echo "APP_CRYPTO_SECRET2=8Q8VMUE3BJZV87GT" >> .env
echo "APP_MAGIC_IV=d139cb9a2cd17092e79e1861cf9d7023" >> .env
echo "APP_MAGIC_SALT=38dce0391b49efba88dbc8c39ebf868f0267eb110bb0012ab27dc52a528d61b1d1ed9d76f400ff58e3240028442b1eab9bb84e111d9dadd997982dbde9dbd25e" >> .env
echo "RUDDERSTACK_WRITE_KEY=" >> .env
echo "RUDDERSTACK_DATAPLANE_URL=" >> .env
echo "NODE_ENV=production" >> .env
- run: yarn run build

# Change the registry to npmjs (to publish)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"author": "Internxt <[email protected]>",
"version": "1.3.2",
"version": "1.3.3",
"description": "Internxt CLI to manage your encrypted storage",
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit 041f06d

Please sign in to comment.