From b7b1b7f8a9972f6cfb6e39cd7925857c14996ea5 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Thu, 26 Mar 2020 15:57:55 +0900 Subject: [PATCH] add edit on glitch button and create sync actions --- .github/workflows/sync-codesandbox.yml | 10 ++++++++++ .github/workflows/sync-glitch.yml | 13 +++++++++++++ README.md | 4 ++++ 3 files changed, 27 insertions(+) create mode 100644 .github/workflows/sync-codesandbox.yml create mode 100644 .github/workflows/sync-glitch.yml diff --git a/.github/workflows/sync-codesandbox.yml b/.github/workflows/sync-codesandbox.yml new file mode 100644 index 0000000..5433097 --- /dev/null +++ b/.github/workflows/sync-codesandbox.yml @@ -0,0 +1,10 @@ +name: sync-codesandbox +on: + push: + branches: [master] +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: kou029w/sync-codesandbox@master + with: { url: https://1uukr.sse.codesandbox.io/ } diff --git a/.github/workflows/sync-glitch.yml b/.github/workflows/sync-glitch.yml new file mode 100644 index 0000000..0bd87ac --- /dev/null +++ b/.github/workflows/sync-glitch.yml @@ -0,0 +1,13 @@ +name: sync-glitch +on: + push: + branches: [master] +jobs: + main: + runs-on: ubuntu-latest + steps: + - run: npx sync-glitch-cli + env: + GH_REPO: "${{ github.repository }}" + GLITCH_PROJECT_ID: ae04f91d-6c70-41c2-b67b-77ef3b9dde16 + GLITCH_TOKEN: "${{ secrets.GLITCH_TOKEN }}" diff --git a/README.md b/README.md index 4226246..eb29d90 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,7 @@ #### CodeSandbox [![Edit daraz-san](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/kou029w/daraz-san) + +#### Glitch + +[![Edit daraz-san](https://img.shields.io/badge/glitch-edit-33f?logo=glitch&style=for-the-badge)](https://glitch.com/edit/#!/kou029w-daraz-san)