Skip to content

Commit 041f06d

Browse files
committed
ci(publish): add the .env on the release
1 parent 2b52208 commit 041f06d

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,23 @@ jobs:
2020
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
2121
2222
- run: yarn
23+
24+
- name: Add .env
25+
run: |
26+
echo "DRIVE_URL=https://drive.internxt.com" >> .env
27+
echo "DRIVE_API_URL=https://drive.internxt.com/api" >> .env
28+
echo "DRIVE_NEW_API_URL=https://api.internxt.com/drive" >> .env
29+
echo "PAYMENTS_API_URL=https://api.internxt.com/payments" >> .env
30+
echo "PHOTOS_API_URL=https://photos.internxt.com/api" >> .env
31+
echo "NETWORK_URL=https://api.internxt.com" >> .env
32+
echo "APP_CRYPTO_SECRET=6KYQBP847D4ATSFA" >> .env
33+
echo "APP_CRYPTO_SECRET2=8Q8VMUE3BJZV87GT" >> .env
34+
echo "APP_MAGIC_IV=d139cb9a2cd17092e79e1861cf9d7023" >> .env
35+
echo "APP_MAGIC_SALT=38dce0391b49efba88dbc8c39ebf868f0267eb110bb0012ab27dc52a528d61b1d1ed9d76f400ff58e3240028442b1eab9bb84e111d9dadd997982dbde9dbd25e" >> .env
36+
echo "RUDDERSTACK_WRITE_KEY=" >> .env
37+
echo "RUDDERSTACK_DATAPLANE_URL=" >> .env
38+
echo "NODE_ENV=production" >> .env
39+
2340
- run: yarn run build
2441

2542
# Change the registry to npmjs (to publish)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"author": "Internxt <hello@internxt.com>",
3-
"version": "1.3.2",
3+
"version": "1.3.3",
44
"description": "Internxt CLI to manage your encrypted storage",
55
"scripts": {
66
"build": "tsc",

0 commit comments

Comments
 (0)