Skip to content

Commit

Permalink
feat(github): Add action for publish to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Jun 7, 2024
1 parent 900b5df commit 9bc6bfd
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 15 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build
on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master

- name: Generate the Composer manifest(s)
run: |
docker run --rm -v $(pwd):/repo zachomedia/composerrepo:v2 -c /repo/config.yml generate
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
keep_files: true
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This project is a Composer Repository generator for external dependencies of [Drupal WxT](https://github.com/drupalwxt/wxt) which are not already in a Composer repository.

This mostly includes:

- [WET-BOEW](https://github.com/wet-boew/wet-boew)
- [GCWeb](https://github.com/wet-boew/GCWeb)

## Usage

Merge the following JSON to your project's `composer.json` file:
Expand All @@ -13,4 +18,4 @@ Merge the following JSON to your project's `composer.json` file:
"url": "https://drupalwxt.github.io/composer-extdeps/"
]
}
```
```

0 comments on commit 9bc6bfd

Please sign in to comment.