File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 registry : ghcr.io
1919 username : ${{ github.actor }}
2020 password : ${{ secrets.GITHUB_TOKEN }}
21- - name : Set config
22- run : mv frontend/public/config.prod.js frontend/public/config.js
21+ - name : Set up environment variables
22+ run : |
23+ cat > frontend/.env << EOF
24+ VITE_API_URL=https://login.threefold.me/
25+ VITE_OPENKYC_URL=https://openkyc.threefold.me/
26+ VITE_DEEPLINK=threefold://
27+ EOF
2328 - name : Build the Docker image
2429 run : docker build . --file Dockerfile --tag ghcr.io/${{ github.repository_owner }}/threefold-connect:production-${{ github.sha }}
2530 - name : Push the Docker image
Original file line number Diff line number Diff line change 1616 username : ${{ github.actor }}
1717 password : ${{ secrets.GITHUB_TOKEN }}
1818
19- - name : Set config
20- run : mv frontend/public/config.staging.js frontend/public/config.js
19+ - name : Set up environment variables
20+ run : |
21+ cat > frontend/.env << EOF
22+ VITE_API_URL=https://login.staging.threefold.me/
23+ VITE_OPENKYC_URL=https://kyc.staging.threefold.me/
24+ VITE_DEEPLINK=threebot-staging://
25+ EOF
2126 - name : Build the 3botlogin Docker image
2227 run : docker build . --file Dockerfile --tag ghcr.io/${{ github.repository_owner }}/threefold-connect:staging-${{ github.sha }}
2328 - name : Push the 3botlogin Docker image
You can’t perform that action at this time.
0 commit comments