From 2fd67ebe6eab4992e3beefcfa7f4edc972621bea Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Mon, 6 May 2024 14:56:01 +1000 Subject: [PATCH] trying to use the steps instead of the full action --- .forgejo/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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