light-adjustment サンプルで設定変更が動くようにする #236
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: GitHub Pages Deploy | |
on: | |
push: | |
branches: ["develop"] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: 0.12.0 | |
- run: zig version | |
- run: rustup update stable && rustup target add wasm32-unknown-unknown | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
- uses: pnpm/action-setup@v4 | |
- run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: Build examples | |
run: pnpm build | |
working-directory: examples | |
- name: Upload files | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
path: ./examples/dist | |
- name: Slack Notification | |
if: failure() | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_CHANNEL: media-processors | |
SLACK_COLOR: danger | |
SLACK_TITLE: Failure test | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
deploy: | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v4 |