Test build and launch app #64
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
--- | |
name: Test build and launch app | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- develop | |
- main | |
schedule: | |
- cron: "25 3 * * *" | |
jobs: | |
test_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up env, build and run | |
env: | |
NSS_NPA_TOKEN: ${{ secrets.NSS_NPA_TOKEN }} | |
ENDPOINT_LISTINGS_URL: ${{ secrets.ENDPOINT_LISTINGS_URL }} | |
ENDPOINT_CITY_URL: ${{ secrets.ENDPOINT_CITY_URL }} | |
ENDPOINT_METRICS_URL: ${{ secrets.ENDPOINT_METRICS_URL }} | |
ENDPOINT_PROVISION_URL: ${{ secrets.ENDPOINT_PROVISION_URL }} | |
ENDPOINT_TABLES_URL: ${{ secrets.ENDPOINT_TABLES_URL }} | |
run: | | |
(echo "ENDPOINT_LISTINGS_URL='$ENDPOINT_LISTINGS_URL'"; | |
echo "ENDPOINT_CITY_URL='$ENDPOINT_CITY_URL'"; | |
echo "ENDPOINT_METRICS_URL='$ENDPOINT_METRICS_URL'"; | |
echo "ENDPOINT_PROVISION_URL='$ENDPOINT_PROVISION_URL'"; | |
echo "ENDPOINT_TABLES_URL='$ENDPOINT_TABLES_URL'") > config.env | |
bash test_build.sh |