-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andrew Parker
committed
Aug 8, 2024
1 parent
4c36943
commit 55b8981
Showing
5 changed files
with
49 additions
and
5 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 |
---|---|---|
|
@@ -25,6 +25,17 @@ jobs: | |
echo "::set-output name=environment::production" | ||
echo "::set-output name=branch::main" | ||
prepare-fe: | ||
runs-on: ubuntu-latest | ||
needs: init | ||
steps: | ||
- uses: BesLogic/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: publish affected | ||
run: npx nx affected --target=publish-fe --head=${{needs.init.outputs.branch}} --base=$BEFORE_SHA --configuration=${{needs.init.outputs.environment }} --parallel=5 | ||
|
||
prepare-be: | ||
runs-on: ubuntu-latest | ||
needs: init | ||
|
@@ -58,7 +69,7 @@ jobs: | |
git commit -am "Updating the project's structure" | ||
git push -f origin main:deployment/philantropy | ||
prepare-mobile: | ||
runs-on: ubuntu-latest | ||
needs: init | ||
|
@@ -85,10 +96,10 @@ jobs: | |
- name: get file | ||
run: | | ||
curl -o ./apps/releaf/mobile/android/app/releaf.keystore -H "Authorization: token ${RELEAF_GENPARKER_KEYS}" https://raw.githubusercontent.com/andy2great/releaf-genparker-keys/main/releaf.keystore | ||
- name: publish affected | ||
run: npx nx affected --target=build-mobile --head=${{needs.init.outputs.branch}} --base=$BEFORE_SHA --configuration=${{needs.init.outputs.environment}} --parallel=5 | ||
|
||
- uses: r0adkll/upload-google-play@v1 | ||
if: ${{ hashFiles('apps/releaf/mobile/android/app/build/outputs/bundle/release/app-release.aab') != '' }} | ||
with: | ||
|
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,9 @@ | ||
FROM nginx:1.15 | ||
|
||
WORKDIR /interface | ||
COPY ./ /interface/ | ||
|
||
RUN rm /etc/nginx/conf.d/* | ||
COPY ./apps/releaf/qr-code/website.conf /etc/nginx/conf.d/website.conf | ||
|
||
COPY --from=build-stage /interface/dist/apps/qr-code/ /usr/share/nginx/html |
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,9 @@ | ||
server { | ||
listen 80 default_server; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
try_files $uri /index.html; | ||
} | ||
} |
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