Updated link so it doesn't point to 404 page #120
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: Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
buildAndDeploy: | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: make build | |
- name: Lighthouse Test | |
run: make lighthouse-test || true | |
- name: Copy test results | |
uses: actions-hub/gcloud@master | |
env: | |
PROJECT_ID: pixboost | |
APPLICATION_CREDENTIALS: ${{ secrets.gcp_credentials }} | |
with: | |
args: cp -r ./.lighthouseci/* gs://pixboost-www/.lighthouse-ci/run-${GITHUB_RUN_NUMBER}/ | |
cli: gsutil | |
- name: Copy web site | |
uses: actions-hub/gcloud@master | |
env: | |
PROJECT_ID: pixboost | |
APPLICATION_CREDENTIALS: ${{ secrets.gcp_credentials }} | |
with: | |
args: cp -r ./site/public/* gs://pixboost-www/ | |
cli: gsutil |