Skip to content

Commit

Permalink
Trigger lines of code counter redeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Nov 7, 2023
1 parent f4c6b10 commit 8faf3ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- master
workflow_dispatch:

jobs:
build_and_test:
Expand Down Expand Up @@ -36,3 +37,8 @@ jobs:
run: ci/build.bash $PWD/cross $target
- name: Run tests
run: ci/test.bash $PWD/cross $target
- name: Trigger lines of code counter re-deploy
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: ci/redeploy_lines_of_code_counter.bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions ci/redeploy_lines_of_code_counter.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# Script for triggering deploy of lines of code counter.
set -e

gh workflow run deploy.yml --repo exercism/lines-of-code-counter

0 comments on commit 8faf3ca

Please sign in to comment.