Skip to content

Merge pull request #3 from traPtitech/feat/error_log_message #15

Merge pull request #3 from traPtitech/feat/error_log_message

Merge pull request #3 from traPtitech/feat/error_log_message #15

Workflow file for this run

name: release
on:
push:
tags:
- v*.*.*
branches-ignore:
- '**'
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Set TAG_NAME env
run: echo "TAG_NAME=${GITHUB_REF:11}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- name: clasp install
run: sudo npm i -g @google/clasp
- name: genarate .clasprc.json
run: echo ${CLASPRC} > ~/.clasprc.json
env:
CLASPRC: ${{ secrets.CLASPRC }}
- name: push
run: clasp push --force
- name: deploy
run: clasp deploy --description "${TAG_NAME}"
- name: deploy-latest
run: clasp deploy --description "latest" --deploymentId AKfycbw2xqqmRUQXcvqzGhxqsrLaOn7mvqQiDohO4Gsdna9BCduIP87X0bT2bQp6Gp6oa-7B