Update github-actions-demo.yml

This commit is contained in:
Serhii Londar 2021-09-16 22:13:58 +03:00
parent 4b2e49bc92
commit 9dd981b0ed

View file

@ -2,25 +2,24 @@ name: GitHub Actions Demo
on: [push] on: [push]
jobs: jobs:
setup: setup:
- name: Setup name: Setup
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- run: gem install awesome_bot run: gem install awesome_bot
- run: gem install bundler run: gem install bundler
- run: gem install danger run: gem install danger
awesome-bot: awesome-bot:
- name: awesome-bot name: awesome-bot
needs: setup needs: setup
runs-on: macos-latest runs-on: macos-latest
- uses: actions/checkout@v2 uses: actions/checkout@v2
- run: awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429 run: awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429
- run: danger run: danger
generate-readme: generate-readme:
- name: generate-readme name: generate-readme
needs: awesome-bot needs: awesome-bot
runs-on: macos-latest runs-on: macos-latest
- uses: actions/checkout@v2 uses: actions/checkout@v2
run: swift ./.github/main.swift run: swift ./.github/main.swift
run: chmod +x ./.github/deploy.sh run: chmod +x ./.github/deploy.sh
run: ./.github/deploy.sh run: ./.github/deploy.sh