Staging Deployment #890
Workflow file for this run
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: stage | |
run-name: Staging Deployment | |
on: | |
pull_request: | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: ./bin/make -j $(nproc) test | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: ./bin/make -j $(nproc) lint | |
check-uptodate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: ./bin/make -j $(nproc) check-uptodate | |
env: | |
TERM: vt100 | |
deploy: | |
runs-on: ubuntu-latest | |
environment: stage | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: ./bin/make -j $(nproc) docker-pull deploy ENV=stage CHANNEL= # empty channel becomes PR-NUM or "live" | |
env: | |
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_EVY_LANG }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: ./bin/make -j $(nproc) e2e USE_DOCKER=1 | |
env: | |
BASEURL: ${{ env.BASEURL_APEX }} | |
BASEURL_PLAY: ${{ env.BASEURL_PLAY }} | |
BASEURL_DOCS: ${{ env.BASEURL_DOCS }} |