started working on it #85
Workflow file for this run
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: Notify about new articles on Pull Requests | |
on: | |
pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/korney4eg/change-checker:v0.3.1 | |
steps: | |
- name: Notify on new content on Discord | |
env: | |
DISCORD_API: ${{ secrets.DISCORD_API }} | |
DISCORD_CHANNEL_URL: ${{ secrets.DISCORD_CHANNEL_URL }} | |
run: | | |
env | |
git clone https://github.com/korney4eg/korney4eg.github.io/ | |
cd korney4eg.github.io/ | |
git checkout $GITHUB_HEAD_REF | |
bundle install | |
/change-checker check -c config.yaml -u $GITHUB_HEAD_REF -b master -d |