forked from Apillon/ps-signup-email-airdrop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from Apillon/dev
Dev
- Loading branch information
Showing
11 changed files
with
175 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Deploy production Website | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
working-directory: ./frontend | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Build application | ||
run: npm run generate | ||
|
||
- name: Deploy website | ||
env: | ||
APILLON_API_KEY: ${{ secrets.APILLON_API_KEY }} | ||
APILLON_API_SECRET: ${{ secrets.APILLON_API_SECRET }} | ||
WEBSITE_UUID: ${{ secrets.WEBSITE_UUID }} | ||
run: | | ||
npm i -g @apillon/cli | ||
apillon hosting deploy-website ./.output/public --uuid $WEBSITE_UUID --key $APILLON_API_KEY --secret $APILLON_API_SECRET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { ConfigInterface } from '~/lib/types/general.types'; | ||
|
||
const config: ConfigInterface = { | ||
APP_URL: 'http://localhost:3000', | ||
API_BASE: 'http://localhost:3001', | ||
CAPTCHA_KEY: '10000000-ffff-ffff-ffff-000000000001', | ||
CHAIN_ID: 1287, | ||
CONTRACT_ADDRESS: null, | ||
METADATA_BASE_URI: null, | ||
METADATA_TOKEN: null, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
import { ConfigInterface } from '~/lib/types/general.types'; | ||
|
||
const config: ConfigInterface = { | ||
APP_URL: 'https://ment-stg.nectarnode.io', | ||
APP_URL: 'https://nft.ment.si', | ||
API_BASE: 'https://ment-api.apillon.io', | ||
CAPTCHA_KEY: 'f363ce6d-7543-4284-9caa-cf3219723f04', | ||
CHAIN_ID: 1287, | ||
CONTRACT_ADDRESS: '0x208C1bfa90faC3aED3587a1D9d6F8119aF45FdA6', | ||
METADATA_BASE_URI: | ||
'https://k2k4r8p41ygxp9ogebtgstf7ix8qqn11qdcu2ld4u08896kei1wmcbj3.ipns.nectarnode.io/', | ||
METADATA_TOKEN: | ||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaWQiOiJrMms0cjhwNDF5Z3hwOW9nZWJ0Z3N0ZjdpeDhxcW4xMXFkY3UybGQ0dTA4ODk2a2VpMXdtY2JqMyIsInByb2plY3RfdXVpZCI6IjdhMGQzNzgyLTVhODgtNGYxNS04Yjg4LTA1MTNiOTczNDhjMyIsImlhdCI6MTcwODMyNzg2OCwic3ViIjoiSVBGUy10b2tlbiJ9.dByI1FQ8rj8_dd89r_BtpF0DEdsLNOIovt-7J2mRsB0', | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import { ConfigInterface } from '~/lib/types/general.types'; | ||
|
||
const config: ConfigInterface = { | ||
APP_URL: 'https://app-stg.apillon.io', | ||
API_BASE: 'https://api-stg.apillon.io', | ||
CAPTCHA_KEY: '10000000-ffff-ffff-ffff-000000000001', | ||
CHAIN_ID: 1284, | ||
CONTRACT_ADDRESS: null, | ||
METADATA_BASE_URI: null, | ||
METADATA_TOKEN: null, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters