From 9ef863aa0187b7ae2f20e67a4591feb9678bcb01 Mon Sep 17 00:00:00 2001 From: Grzegorz Rajchman Date: Mon, 23 Sep 2024 13:21:49 +0100 Subject: [PATCH] Remove old packages (#5) * Remove old packages * Build on PR --- .github/workflows/gh-pages.yml | 12 ++++---- satis.json | 53 ---------------------------------- 2 files changed, 7 insertions(+), 58 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 675f67c..aef0e76 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -3,17 +3,19 @@ name: Publish to GitHub pages on: push: branches: [main] + pull_request: + branches: [main] workflow_dispatch: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Composer cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.composer/cache/repo key: composer-cache @@ -37,8 +39,8 @@ jobs: run: echo 'composer.talis.io' > dist/CNAME - name: Deploy to GitHub Pages - if: success() - uses: crazy-max/ghaction-github-pages@v2 + if: ${{ success() && github.event_name == 'push' && github.ref == 'refs/heads/main' }} + uses: crazy-max/ghaction-github-pages@v4 with: target_branch: gh-pages build_dir: dist diff --git a/satis.json b/satis.json index 5772935..850dce4 100644 --- a/satis.json +++ b/satis.json @@ -2,11 +2,6 @@ "name": "techfromsage/composer", "description": "TfS Composer repository", "homepage": "https://composer.talis.io/", - "abandoned": { - "chrisboulton/php-resque": "resque/php-resque", - "techfromsage/php-resque": "resque/php-resque", - "techfromsage/simplesamlphp": "simplesamlphp/simplesamlphp" - }, "repositories": [ { "type": "vcs", @@ -16,38 +11,6 @@ "type": "vcs", "url": "https://github.com/rsinger/worldcat-linkeddata-php" }, - { - "type": "package", - "package": { - "name": "t0k4rt/phpqrcode", - "version": "1.1.4", - "homepage": "https://github.com/t0k4rt/phpqrcode", - "description": "PHP implementation of QR Code 2-D barcode generator", - "authors": [ - { - "name": "Alexandre Assouad", - "email": "assouad@kairostag.com" - }, - { - "name": "Dominik Dzienia", - "email": "deltalab@poczta.fm" - } - ], - "license": [ - "LGPL-3.0" - ], - "source": { - "url": "https://github.com/t0k4rt/phpqrcode", - "type": "git", - "reference": "d213c4819a4607f0c94d8eda4b4dec9ef3b79ae2" - }, - "dist": { - "type": "zip", - "url": "https://github.com/t0k4rt/phpqrcode/zipball/d213c4819a4607f0c94d8eda4b4dec9ef3b79ae2", - "reference": "d213c4819a4607f0c94d8eda4b4dec9ef3b79ae2" - } - } - }, { "type": "vcs", "url": "https://github.com/techfromsage/bling" @@ -80,10 +43,6 @@ "type": "vcs", "url": "https://github.com/techfromsage/php-niso-openurl" }, - { - "type": "vcs", - "url": "https://github.com/techfromsage/php-resque" - }, { "type": "vcs", "url": "https://github.com/techfromsage/resque-multiple-failure-queues" @@ -96,10 +55,6 @@ "type": "vcs", "url": "https://github.com/techfromsage/sierra-api-php-client" }, - { - "type": "vcs", - "url": "https://github.com/techfromsage/simplesamlphp" - }, { "type": "vcs", "url": "https://github.com/techfromsage/SRUClient-php" @@ -111,14 +66,6 @@ { "type": "vcs", "url": "https://github.com/techfromsage/tripod-php" - }, - { - "type": "vcs", - "url": "https://github.com/techfromsage/php-cloud-files" - }, - { - "type": "vcs", - "url": "https://github.com/techfromsage/aws-sdk-php" } ], "require-all": true,