From 144d16acd66c17c6692b2522fd683d48c01fd7c3 Mon Sep 17 00:00:00 2001 From: Radek Czemerys Date: Thu, 28 May 2020 23:13:09 +0200 Subject: [PATCH 1/3] Add deploy github action --- .github/workflows/deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..b2b17da --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: deploy + +on: [push] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-node@master + with: + version: 12 + registry-url: 'https://npm.pkg.github.com' + - name: Checkout code + uses: actions/checkout@v2 + - name: Publish to Github repository + - uses: shawnbot/npm-publish-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c585e5c07779f8e55a53621e00e8c5851909e781 Mon Sep 17 00:00:00 2001 From: Radek Czemerys Date: Thu, 28 May 2020 23:14:15 +0200 Subject: [PATCH 2/3] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b2b17da..7fd47b6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,6 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - name: Publish to Github repository - - uses: shawnbot/npm-publish-action@master + uses: shawnbot/npm-publish-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 750cf17ca469d216a54776ca4602ea578fa92540 Mon Sep 17 00:00:00 2001 From: Radek Czemerys Date: Thu, 28 May 2020 23:14:51 +0200 Subject: [PATCH 3/3] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7fd47b6..498c683 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,7 +3,7 @@ name: deploy on: [push] jobs: - lint: + deploy-github: runs-on: ubuntu-latest steps: - uses: actions/setup-node@master