From 361e8038b1520f885e4fb2bc32519d654694c5d1 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Mon, 11 May 2020 15:10:43 +0200 Subject: [PATCH] Update workflows --- .github/workflows/dev.yml | 1 - .github/workflows/labels.yml | 2 -- .github/workflows/lint.yml | 2 -- README.md | 4 ++-- dist/index.js | 2 +- src/main.ts | 2 +- 6 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index ad27363..43484cc 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -12,7 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - - # https://github.com/actions/checkout name: Checkout uses: actions/checkout@v2 - diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 2e0afc8..d4963ae 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -13,11 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - - # https://github.com/actions/checkout name: Checkout uses: actions/checkout@v2 - - # https://github.com/crazy-max/ghaction-github-labeler name: Run Labeler if: success() uses: crazy-max/ghaction-github-labeler@v2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 14e11fc..a0bd92d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,11 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - - # https://github.com/actions/checkout name: Checkout uses: actions/checkout@v2 - - # https://github.com/actions/setup-node name: Set up Node uses: actions/setup-node@v1 - diff --git a/README.md b/README.md index a01507d..c622353 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ jobs: - name: Deploy to GitHub Pages if: success() - uses: crazy-max/ghaction-github-pages@v1 + uses: crazy-max/ghaction-github-pages@v2 with: target_branch: gh-pages build_dir: public @@ -86,7 +86,7 @@ You can use the [Import GPG](https://github.com/crazy-max/ghaction-import-gpg) G - name: Deploy to GitHub Pages if: success() - uses: crazy-max/ghaction-github-pages@v1 + uses: crazy-max/ghaction-github-pages@v2 with: target_branch: gh-pages build_dir: public diff --git a/dist/index.js b/dist/index.js index 98170da..e4ff70b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1855,7 +1855,7 @@ function run() { } yield git.push(remoteURL, targetBranch, !keepHistory); process.chdir(currentdir); - core.info(`🎉 Content of ${buildDir} has been deployed to GitHub Pages.`); + core.info(`🎉 Content of ${buildDir} has been deployed to GitHub Pages`); } catch (error) { core.setFailed(error.message); diff --git a/src/main.ts b/src/main.ts index fa7d099..572bb7f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -101,7 +101,7 @@ async function run() { await git.push(remoteURL, targetBranch, !keepHistory); process.chdir(currentdir); - core.info(`🎉 Content of ${buildDir} has been deployed to GitHub Pages.`); + core.info(`🎉 Content of ${buildDir} has been deployed to GitHub Pages`); } catch (error) { core.setFailed(error.message); }