diff --git a/.forgejo/workflows/main.yml b/.forgejo/workflows/main.yml index 9136a99..5bcae52 100644 --- a/.forgejo/workflows/main.yml +++ b/.forgejo/workflows/main.yml @@ -2,14 +2,17 @@ on: [push] jobs: weblog_import: - runs-on: ubuntu-latest + runs-on: docker 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 - id: weblog_import - uses: https://github.com/neatnik/weblog.lol@v1 + run: php -f weblog-import.php $ADDRESS $WEBLOG_API_KEY + shell: bash env: ADDRESS: deathau WEBLOG_API_KEY: ${{ secrets.WEBLOG_API_KEY }} \ No newline at end of file