Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy action #82

Merged
merged 3 commits into from
Nov 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/codesandboxDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Add codesandbox link

on:
pull_request:
branches: [ master ]

jobs:
codesandbox-comment:
name: Add codesandbox link comment
runs-on: ubuntu-latest
steps:
- uses: mshick/add-pr-comment@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: |
You can check this code at CodeSandbox with the link
https://githubbox.com/${{ github.repository }}/tree/${{ github.head_ref }}
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# react-js-tutorial


## Github actions
* Deploy config

[pull request](https://github.com/nickovchinnikov/react-js-tutorial/pull/82)


## Lesson 1:
Basic configuration for the project on the master branch. What configurations you can find:
* Babel
Expand Down Expand Up @@ -271,4 +278,5 @@ React Patterns
* Webworker + Comlink

[Pull request](https://github.com/nickovchinnikov/react-js-tutorial/pull/69) <br>
[Presentation](https://docs.google.com/presentation/d/1PcjJrDn0bj4DNWX1_bquPzKEUW2Ayn02PYOz72y6KWY/) <br>
[Presentation](https://docs.google.com/presentation/d/1PcjJrDn0bj4DNWX1_bquPzKEUW2Ayn02PYOz72y6KWY/)

Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ Git поддерживает [хуки](https://git-scm.com/book/ru/v2/%D0%9D%D0
Для подключения action нужно просто добавить [yml](https://ru.wikipedia.org/wiki/YAML) файл с нужной структурой.

Примеры файлов можно посмотреть [здесь](https://github.com/otus-js-student/js--game-of-life/tree/master/.github/workflows) и [здесь](https://github.com/nickovchinnikov/react-js-tutorial/tree/master/.github/workflows).
[pull request](https://github.com/nickovchinnikov/react-js-tutorial/pull/82)

<!-- v -->

Expand Down