Skip to content

事例紹介を追加する。 #78

事例紹介を追加する。

事例紹介を追加する。 #78

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
tags:
- "!*"
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: LLK/scratch-gui
ref: develop
- run: npm install
- uses: actions/checkout@v2
with:
path: ./tm2scratch
- uses: actions/checkout@v2
with:
repository: yokobond/scratch-microbit-more
path: ./microbitMore
- run: sh ./microbitMore/install-stretch3.sh
- run: sh ./tm2scratch/install.sh
- run: sh ./tm2scratch/add_ga_tracking_code.sh
- run: npm run build
- run: cp ./tm2scratch/index.html ./build/index.html
- run: cp ./tm2scratch/favicon.ico ./build/static/favicon.ico
- uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./build
- uses: rtCamp/[email protected]
env:
SLACK_USERNAME: TM2Scratch
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_MESSAGE: 'tm2scratch is deployed! :rocket:'
SLACK_ICON: https://champierre.github.io/tm2scratch/static/favicon.ico