https://github.com/stackbuilders/reusable-workflows
GitHub Actions reusable workflows
https://github.com/stackbuilders/reusable-workflows
gh-actions
Last synced: 21 days ago
JSON representation
GitHub Actions reusable workflows
- Host: GitHub
- URL: https://github.com/stackbuilders/reusable-workflows
- Owner: stackbuilders
- License: mit
- Created: 2022-07-01T04:47:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-01T15:15:43.000Z (over 3 years ago)
- Last Synced: 2025-01-23T04:32:38.491Z (about 1 year ago)
- Topics: gh-actions
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 13
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Reusable Workflows
GitHub Actions [reusable workflows][reusable-workflows].
## Usage
The following section describes the usage of the different reusable workflows
offered by this repository.
### [cabal-upload](.github/workflows/cabal-upload.yml)
Uploads source package and documentation to Hackage.
```yml
jobs:
call-cabal-upload:
uses: stackbuilders/reusable-workflows/.github/workflows/cabal-upload.yml@main
with:
ghc_version: "8.10"
cabal_version: "3.6"
ignore_uploaded_package: true
secrets:
HACKAGE_USERNAME: ${{ secrets.HACKAGE_USERNAME }}
HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }}
```
### [eb-deploy](.github/workflows/eb-deploy.yml)
Creates a zip file via git archive and deploys an application version via
[beanstalk-deploy][beanstalk-deploy]
```yml
jobs:
call-eb-deploy:
uses: stackbuilders/reusable-workflows/.github/workflows/eb-deploy.yml@main
with:
environment_name: production
environment_url: https://example.com
eb_application_name: example
eb_environment_name: example-production
eb_region: us-east-1
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
```
## License
MIT, see [the LICENSE file](LICENSE).
## Contributing
Do you want to contribute to this project? Please take a look at our
[contributing guideline](docs/CONTRIBUTING.md) to know how you can help us
build it.
---
[Check out our libraries](https://github.com/stackbuilders/) | [Join our team](https://www.stackbuilders.com/join-us/)
[beanstalk-deploy]: https://github.com/einaregilsson/beanstalk-deploy
[reusable-workflows]: https://docs.github.com/en/actions/using-workflows/reusing-workflows