Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/project.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Add assigned issues to project
on:
issues:
types:
- opened
jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@2b841e5b72907f4af4e565d8eb350c44cda3da96 # ratchet:actions/[email protected]
with:
project-url: https://github.com/orgs/mongulu-cm/projects/2
github-token: ${{ secrets.GH_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/warm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Warm up the website

on:
schedule:
- cron: '0 0 * * *'

jobs:
warmup-website:
runs-on: ubuntu-latest

steps:
- name: Check if website is up
run: |
URL="https://aci.assos.mongulu.cm/"
STATUS_CODE=$(curl --max-time 60 -o /dev/null -s -w "%{http_code}\n" $URL)
if [ $STATUS_CODE -ne 200 ]; then
echo "Website is down (Status code: $STATUS_CODE)"
exit 1
else
echo "Website is up (Status code: $STATUS_CODE)"
fi
Loading