sg_repo_updated #282
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: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
# Trigger for changes in the whatwg/sg repo. | |
repository_dispatch: | |
types: | |
- sg_repo_updated | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: pip install -r requirements.txt | |
- run: npm install | |
- run: shellcheck deploy.sh | |
- run: shellcheck resources.whatwg.org/build/*.sh | |
- run: bash ./deploy.sh | |
env: | |
SERVER: ${{ secrets.MARQUEE_SERVER }} | |
SERVER_PUBLIC_KEY: ${{ secrets.MARQUEE_PUBLIC_KEY }} | |
SERVER_DEPLOY_KEY: ${{ secrets.MARQUEE_DEPLOY_KEY }} |