Update workflows

This commit is contained in:
CrazyMax 2020-05-11 15:10:43 +02:00
parent 7efbbc7803
commit 361e8038b1
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
6 changed files with 4 additions and 9 deletions

View File

@ -12,7 +12,6 @@ jobs:
runs-on: ubuntu-latest
steps:
-
# https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v2
-

View File

@ -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

View File

@ -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
-

View File

@ -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

2
dist/index.js generated vendored
View File

@ -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);

View File

@ -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);
}