Skip to content

Commit

Permalink
update: Github Actions checkout v2 -> v3 (#173)
Browse files Browse the repository at this point in the history
Add TELEGRAM_CHAT_ID variable to prevent Node script secret not found issues as seen in https://github.com/OurTechCommunity/catchup/actions/runs/5561959000.
  • Loading branch information
KartikSoneji authored Jul 15, 2023
1 parent b98d222 commit f12b039
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy-web-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install dependencies
run: npm install
Expand All @@ -45,7 +45,7 @@ jobs:
container: "docker://asciidoctor/docker-asciidoctor:latest"
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build summary pages using Asciidoctor Jet
run: ./util/build.sh
Expand All @@ -57,7 +57,7 @@ jobs:
container: "docker://asciidoctor/docker-asciidoctor:latest"
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build summary pages using Asciidoctor Jet
run: ./util/build.sh
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/send-messages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ on:
`joining`, if time is after 10pm on Saturday (IST)
`reminder`, otherwise
env:
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}

jobs:
send-messages:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
persist-credentials: false

Expand Down

0 comments on commit f12b039

Please sign in to comment.