From ea6be63bb3501a253a449c22f07077dd326fad1b Mon Sep 17 00:00:00 2001 From: Vassyli Date: Wed, 30 Dec 2020 14:58:39 +0100 Subject: [PATCH] Adds a test github workflow. --- .github/workflows/update-package-index.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/update-package-index.yml diff --git a/.github/workflows/update-package-index.yml b/.github/workflows/update-package-index.yml new file mode 100644 index 0000000..278924b --- /dev/null +++ b/.github/workflows/update-package-index.yml @@ -0,0 +1,20 @@ +name: PHP Composer + +on: + push: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: "Checkouts satis and packages" + run: git clone https://github.com/composer/satis && git clone https://github.com/lotgd/packages + + - name: "Build satis" + run: satis/bin/satis build packages/satis.json packages/build + + - name: "Commit changes and push to origin" + run: composer commit -a -m "Updated packages" && composer push origin master