This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pm2 = require('pm2'); | |
module.exports = function pm2Emitter(file) { | |
if (!file || typeof file !== 'string') { | |
console.error('argument of type "string" required to run pm2Emitter'); | |
return; | |
} | |
pm2.connect(function() { | |
pm2.list(function(err, processes) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if ! which brew | |
then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
read -r -s -p "[sudo] sudo password for $(whoami):" pass | |
brew bundle --file=./wantedFE.Brewfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "dkanejs/aws-session-manager-plugin" | |
tap "github/gh" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "homebrew/services" | |
brew "autoconf" | |
brew "automake" | |
brew "awscli" | |
brew "circleci", link: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '* 0 * * 1' | |
jobs: | |
main: | |
name: main | |
runs-on: ubuntu-latest | |
steps: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌───────────── minute (0 - 59) | |
│ ┌───────────── hour (0 - 23) | |
│ │ ┌───────────── day of the month (1 - 31) | |
│ │ │ ┌───────────── month (1 - 12 or JAN-DEC) | |
│ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT) | |
│ │ │ │ │ | |
│ │ │ │ │ | |
│ │ │ │ │ | |
* * * * * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '*/15 * * * *' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: React build | |
on: | |
push: # master, develop Branch에서 push 이벤트가 일어났을 때만 실행 | |
branches: | |
- master | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Get yarn cache | |
id: yarn-cache | |
run: | | |
echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v1 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const core = require("@actions/core"); | |
const { IncomingWebhook } = require("@slack/webhook"); | |
async function run() { | |
try { | |
const GITHUB_EVENT = require(process.env.GITHUB_EVENT_PATH); | |
const GITHUB_WORKFLOW = process.env.GITHUB_WORKFLOW; | |
const ACTION_NAME = core.getInput("ACTION_NAME"); | |
const JOB = JSON.parse(core.getInput("JOB")); | |
const SLACK_WEBHOOK_URL = core.getInput("SLACK_WEBHOOK_URL"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: React build | |
on: | |
push: # master, develop Branch에서 push 이벤트가 일어났을 때만 실행 | |
branches: | |
- master | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-18.04 |
NewerOlder