Skip to content

refs #14 DaaS APIの向き先を新ドメインに変更 (#15) #9

refs #14 DaaS APIの向き先を新ドメインに変更 (#15)

refs #14 DaaS APIの向き先を新ドメインに変更 (#15) #9

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
env:
CLASP_JSON: ${{ secrets.CLASP_JSON }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
always-auth: true
node-version: 14
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Set ~/.clasprc.json
run: echo $CLASP_JSON > ~/.clasprc.json
- name: Install Dependencies
run: yarn install
- name: Deploy
run: yarn run publish