> ## Documentation Index
> Fetch the complete documentation index at: https://docs.theslow.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Automating with GitHub Actions

> Use GitHub Actions to automatically update your SlowNet page.

## Overview

Want to update your SlowNet mood, bio, or blocks on a schedule?\
You can use GitHub Actions to automate updates using your API key.

## Example workflow

Here’s a simple `.github/workflows/update-slownet.yml` file that runs every Monday:

```yaml theme={null}
name: Update SlowNet Page

on:
  schedule:
    - cron: '0 9 * * MON' # every Monday at 9 AM UTC

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - name: Update SlowNet mood
        run: |
          curl -X POST             'https://theslow.net/api/slownetsite/update-site-configuration'             -H 'X-API-KEY: ${{ secrets.SLOWNET_API_KEY }}'             -H 'Content-Type: application/json'             -d '{
              "mood": "🚀 Automation time!"
            }'
```

## Storing your API key

* Add your API key in your GitHub repo settings under **Secrets and variables** as `SLOWNET_API_KEY`.
* Never commit your API key directly to your code.

## Authentication

This endpoint requires an API key. You can retrieve an API key from your [dashboard](https://theslow.net/dashboard). Include it in the `X-API-KEY` header:

```
X-API-KEY: YOUR_API_KEY_HERE
```

For more details, see the [Authentication Guide](https://docs.theslow.net/authentication).

## Related

* [Building your SlowNet page](../building-your-slownet-page)

## Need Further Assistance?

If you have any questions or encounter issues, please don't hesitate to reach out to our [support team](https://theslow.net/dashboard#support).
