Skip to content

Sponsors data

Sponsors data #27

Workflow file for this run

---
name: Sponsors data
on:
schedule:
- cron: '15 1 * * 1'
workflow_dispatch:
jobs:
sponsors:
runs-on: ubuntu-latest
permissions:
contents: write
if: |
github.repository == 'inko-lang/website' && github.ref_name == 'main'
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- run: bash ./scripts/sponsors.sh
env:
SPONSORS_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
deploy:
needs:
- sponsors
uses: ./.github/workflows/deploy.yml
with:
ref: 'main'
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}