deathau.weblog.lol/.forgejo/workflows/main.yml

18 lines
477 B
YAML
Raw Normal View History

2024-05-06 04:35:43 +00:00
on: [push]
jobs:
weblog_import:
runs-on: docker
2024-05-06 04:35:43 +00:00
name: weblog.lol
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- run: wget -O weblog-import.php https://api.omg.lol/address/adam/weblog/github-action
shell: bash
2024-05-06 04:35:43 +00:00
- id: weblog_import
run: php -f weblog-import.php $ADDRESS $WEBLOG_API_KEY
shell: bash
2024-05-06 04:35:43 +00:00
env:
ADDRESS: deathau
WEBLOG_API_KEY: ${{ secrets.WEBLOG_API_KEY }}