-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from oslabs-beta/feature/raisa-conference-room
Feature/raisa conference room
- Loading branch information
Showing
5 changed files
with
81 additions
and
98 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node and various OS (Windows, Ubuntu) | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | ||
|
||
name: RTConnect CI | ||
|
@@ -29,21 +29,4 @@ jobs: | |
- run: npm run lint | ||
- run: npm test | ||
# env: | ||
# CI: true | ||
|
||
|
||
# slackNotification: | ||
# name: Slack CI status - notify on failure | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Slack Notify on Failure | ||
# if: ${{ failure() }} | ||
# id: slack | ||
# uses: slackapi/[email protected] | ||
# with: | ||
# channel-id: 'C067F896WG5' | ||
# slack-message: "Github CI Result: ${{ job.status }}\nGithub PR/Commit URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | ||
# env: | ||
# SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | ||
# # SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
# # SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | ||
# CI: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
name: Slack Notification of CI Status | ||
|
||
on: | ||
push: | ||
branches: ["main", "feature/raisa-cicd"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
push: | ||
branches: ["main", "feature/raisa-cicd"] | ||
pull_request: | ||
branches: ["main"] | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} # This works BUT it shows up as problem for some unknown reason ("Context access might be invalid: NPM_TOKEN") and there should not be any errors | ||
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
jobs: | ||
slackNotification: | ||
name: Slack CI status - notify on failure | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Slack Notify on Failure | ||
if: ${{ failure() }} | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: 'C067F896WG5' | ||
slack-message: "Github CI Result: ${{ job.status }}\nGithub PR/Commit URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | ||
env: | ||
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} # This works BUT it shows up as problem for some unknown reason ("Context access might be invalid: NPM_TOKEN") and there should not be any errors | ||
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
|
||
slackNotification: | ||
runs-on: ubuntu-latest | ||
name: Slack CI status - notify on failure | ||
steps: | ||
- name: Slack Notify on Failure | ||
if: ${{ failure() }} | ||
id: slack | ||
uses: slackapi/[email protected] | ||
with: | ||
channel-id: 'C067F896WG5' | ||
slack-message: "Github CI Result: ${{ job.status }}\nGithub PR/Commit URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | ||
|
||
# https://github.com/slackapi/slack-github-action |
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
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
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